Addr ⓘ | Op Code ⓘ | Operand ⓘ |
---|---|---|
000 | LDA | 007 |
001 | ADD | 008 |
002 | SUB | 007 |
003 | BRP | 002 |
004 | STA | 009 |
005 | HLT | 000 |
006 | DAT | 000 |
007 | DAT | 001 |
008 | DAT | 002 |
009 | DAT | XXX |
You will take the role of the Control Unit in this simple CPU (based on the LMC). You will work through the fetch-execute cycle to run this program which counts down from 3, storing the final value in memory and then it halts. Click here for the user guide.