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