Figurę 3.17 Encoding Instructions
C |
B |
A |
CBA |
Instruction | |
Instr #1 |
O |
O |
o |
000 001 |
move add |
Instr #2 |
o |
o |
o |
010 011 |
subtract mulliply |
Instr #3 |
o |
o |
o |
100 101 |
drvide and |
. |
110 |
or | |||
111 |
xor |
Instr #1 |
CBA OOO |
DD OO |
SS OO |
Instr #2 |
OOO |
oo |
OO |
Instr #3 |
OOO |
OO |
oo |
CBA Instruction 000 move 001 add 010 subtract 011 multiply 100 divide 101 and 110 or 111 xor |
DD -or- 00 01 10 11 |
SS Register AX BX cx DX |