Last updated: 4/2/01
Link back to course Welcome...
Paper and Pencil Computer: Worksheet
(To print this out, set your printer for landscape mode)
| Abbreviations: | Op Code | Op Code Name | Op Code Action: |
| K: Keyboard | 001 |
ADD | AC + CRML è AC |
| P: Printer | 010 |
SUB | AC - CRML è AC |
| RML: Referenced Memory Location | 011 |
LOAD | CRML è AC |
| ARML: Address of RML | 100 |
STORE | AC è CRML |
| CRML: Contents of RML | 101 |
READ | K è CRML |
| AC: Contents of Accumulator | 110 |
DISPLAY | CRML è P |
| PC: Contents of Program Counter | 111 |
JUMPIF | If (AC > 0) ARML è PC |
| IR: Contents of Instruction Register | 000 |
STOP | Stop -- do no more |
IR |
||||||||
| PC for this instruction | 3 Bits: Op Code |
5 bits: RML |
PC + 1 (for next instruction) | CRML | Op Code Name | Op Code Action | What (besides PC and IR) gets changed by this instruction (e.g. AC, CRML)? |
What value does it get changed to? |