| Memory Address | Instruction | Data | Memory Address Bin | Instruction Bin | Data Bin |
|---|---|---|---|---|---|
| 0 | OUT | 0000 | 1110 | 0000 | |
| 1 | ADD | 15 | 0001 | 0010 | 1111 |
| 2 | JC | 4 | 0010 | 0111 | 0100 |
| 3 | JMP | 0 | 0011 | 0110 | 0000 |
| 4 | SUB | 15 | 0100 | 0011 | 1111 |
| 5 | OUT | 0101 | 1110 | 0000 | |
| 6 | JZ | 0 | 0110 | 1000 | 0000 |
| 7 | JMP | 4 | 0111 | 0110 | 0100 |