Opcode | Mnemonic | Info |
---|---|---|
0000 | LDA | Load data from RAM address to the Accumulator (REG A). |
0001 | ADD | Add Accumulator to data from RAM address. |
0010 | SUB | Subtract data from RAM address from the Accumulator . |
1110 | OUT | Output data in Accumulator to the display |
1111 | HLT | Halt all operations. |
ADDR | DATA | Info |
---|---|---|
0000 | 0000 1010 | LDA 1010 |
0001 | 0001 1011 | ADD 1011 |
0010 | 1110 0000 | OUT |
0011 | 1111 0000 | HLT |
1010 | 0000 0001 | DATA: 1 |
1011 | 0000 0010 | DATA: 2 |