Paper and Pencil Computer Worksheet #2
| Abbreviations: | Op Code | Op Code Name | Op Code Actions: |
| K: Keyboard | 001 |
AC + CRML è AC | |
| P: Printer | 010 |
AC - CRML è AC | |
| RML: Referenced Memory Location | 011 |
CRML è AC | |
| ARML: Address of RML | 100 |
AC è CRML | |
| CRML: Contents of RML | 101 |
K è CRML | |
| AC: Contents of Accumulator | 110 |
CRML è P | |
| PC: Contents of Program Counter | 111 |
If (AC > 0) ARML è PC | |
| IR: Contents of Instruction Register | 000 |
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? |