128 x 220 = 128 x 1048576 = 134,217,728 bytes
STP, JMP
0 LDI 7
1 STO 5
2 LDI 3
3 ADD 5
4 STP 0
# | Instruction | Accumulator | Mem 5 |
0 | LDI 7 | 7 | 0 |
1 | STO 5 | 7 | 7 |
2 | LDI 3 | 3 | 7 |
3 | ADD 5 | 10 | 7 |
4 | STP | 10 | 7 |
0110000000000000
0010000000000101
1010000000000100
1000000000000000
1111000000000000
0000000000010101
# | Instruction | Accumulator | N | P |
0
1 2 3 4 5 6 7 8 9 10 11 4 5 6 7 8 9 10 11 4 12 |
LDI 3
STO 15 INP 0 STO 14 JZR 12 LOD 15 ADD 15 STO 15 LOD 14 SUB 13 STO 14 JMP 4 JZR 12 LOD 15 ADD 15 STO 15 LOD 14 SUB 13 STO 14 JMP 4 JZR 12 STP 0 |
3
3 2 2 2 3 6 6 2 1 1 1 1 6 12 12 1 0 0 0 0 0 |
0
0 0 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 0 0 0 0 |
0
3 3 3 3 3 3 6 6 6 6 6 6 6 6 12 12 12 12 12 12 12 |