OpCode | Instruction | States |
---|---|---|
0 | JAS | na |
1 | LOAD | 3,4,5,0 |
2 | STORE | 3,11,13,0 |
3 | ADD | 3,4,6,0 |
4 | SUB | 3,4,6,0 |
5 | Input | na |
6 | Output | na |
7 | Halt | 16 |
8 | Skipcond | 15,0 |
9 | Jmp | 14,0 |
10 | Clear | 10,0 |
11 | ADDI | 3,4,7,8,6,0 |
12 | JmpI | 3,4,9,0 |
State | Action |
---|---|
0 | pctobus,loadmar, loadpc |
1 | CS,R/W' |
2 | mbrtobus, bustoir, loadir |
3 | irtobus,loadmar |
4 | (1) |
5 | martobus, busoacc, loadacc |
6 | mbrtobus, bustoalu, aluop, loadacc |
7 | mbrtobus, loadmar |
8 | (1) |
9 | mbrtobus, bustopc, loadpc |
10 | zero |
11 | acctobus, bustombr, loadmbr |
13 | CS |
14 | irtobus, bustopc, loadpc |
15 | irtobus, CC&loadPC |
16 | na |