3 ms·
Here is a document I found on the DG Nova instruction set: http://users.rcn.com/crfriend/museum/doco/DG/Nova/base-instr.html http://users.rcn.com/crfriend/muse
by userbinator 9y ago
Here is a document I found on the DG Nova instruction set:
http://users.rcn.com/crfriend/museum/doco/DG/Nova/base-instr.html http://users.rcn.com/crfriend/museum/doco/DG/Nova/base-instr...
If you scroll down to "Arithmetic/Logic Instructions" you'll see that they did not have room for XOR nor OR, since several of the 8 opcodes that fit into the 3-bit field are what we'd normally think of as "one-operand", but have been expanded to be "two-operand" (oddly enough, there is an increment but no decrement instruction either.)
It's interesting to compare to two other well-known CPUs with a 3-bit ALU opcode field:
The Z80's (and 8008/8080/8085) ALU opcodes are: ADD/ADC/SUB/SBC/AND/XOR/OR/CP
The x86's ALU opcodes are: ADD/OR/ADC/SBB/AND/SUB/XOR/CMP
- kens 9y agoThat's an interesting comparison with microprocessor ALU operations. (6502 is similar to Intel but doesn't have add/subtract without carry.) Note that the Nova uses two additional instruction bits for the carry. Thus, the Intel instruction sets use two of the 8 opcodes for add with carry and subtract with borrow/carry, but the Nova doesn't. So it should be easier for the Nova to fit in additional useful ALU instructions. (Not to mention the Nova has 16-bit instructions.)