| Memory Address | Instruction | Data | |||
|---|---|---|---|---|---|
| 0 | LDA | 14 | 0000 | 0001 | 1110 |
| 1 | SUB | 12 | 0001 | 0011 | 1100 |
| 2 | JC | 6 | 0010 | 0111 | 0110 |
| 3 | LDA | 13 | 0011 | 0001 | 1101 |
| 4 | OUT | 0100 | 1110 | 0000 | |
| 5 | HLT | 0101 | 1111 | 0000 | |
| 6 | STA | 14 | 0110 | 0100 | 1110 |
| 7 | LDA | 13 | 0111 | 0001 | 1101 |
| 8 | ADD | 15 | 1000 | 0010 | 1111 |
| 9 | STA | 13 | 1001 | 0100 | 1101 |
| 10 | JMP | 0 | 1010 | 0110 | 0000 |
| 11 | 1011 | ||||
| 12 | 1 | 1 | 1100 | 0000 | 0001 |
| 13 | Product | 1101 | 0000 | 0000 | |
| 14 | X | 1110 | |||
| 15 | X | 1111 |