Data Flow | ||
---|---|---|
0000 0100 | LOD X | [X] -> A |
0001 0100 | LOD #N | N -> A |
0000 0101 | STO X | A -> X |
0000 0110 | unused | |
0000 0111 | unused | |
Control | ||
0000 1100 | JMP X | X -> PC |
0000 1101 | JMZ X | If A=0, then X -> PC |
0000 1110 | NOP | no operation |
0000 1111 | HLT | halt execution |
Arithmetic-Logic | ||
0000 0000 | ADD X | A+[X] -> A |
0001 0000 | ADD #N | A+N -> A |
0000 0001 | SUB X | A-[X] -> A |
0001 0001 | SUB #N | A-N -> A |
0000 0010 | MUL X | A*[X] -> A |
0001 0010 | MUL #N | A*N -> A |
0000 0011 | DIV X | A/[X] -> A |
0001 0011 | DIV #N | A/N -> A |
0000 1000 | AND X | A AND [X] -> A |
0001 1000 | AND #N | A AND N -> A |
0000 1001 | NOT | NOT A -> A |
0000 1010 | CPZ X | if [X]=0, then 1 -> A, else 0 -> A |
0000 1011 | CPL X | If [X] < 0, then 1 -> A, else 0 -> A |