Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1PC: 100 → MAR: 100 | AMAR: 100 | Bus: address | MDR: ADD 7 | |
| 2MDR: LDA 50 → CIR: LDA 50 | BThe address of the next instruction is copied from the PC to the MAR at the start of the fetch stage, using the address bus. | |
| 3After each fetch, the PC is incremented by 1 so it points to the next instruction in the program. | CThe PC has not been incremented. After the fetch the PC should be 101, so it points to the next instruction. | |
| 4When the MAR sends an address to RAM, the control bus carries a read signal and the data bus returns the contents of that address. | DThe instruction fetched from RAM is copied from the MDR to the CIR so it can be decoded, and the PC has already been incremented. | |
| 5PC: 100 → 100 (after fetch) | EThe MAR sends an address, so the bus used is the address bus. The data bus carries the contents of the memory location. | |
| 6MAR: 100 | Bus used: data bus | FPC: 100 → 101 |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
register trace — Recording the contents of the PC, MAR, MDR, CIR and ACC, and the bus used, at each step as one instruction goes through the fetch-decode-execute cycle.PC = 100
MAR ← PC
Bus used: address busMAR = 100
MDR ← RAM[MAR]
Bus used: data busBefore fetch: PC = 100
MAR ← PC, PC ← PC + 1
After fetch: PC = 101MDR = LDA 200
CIR ← MDR
Decode: CU reads the CIRCIR = LDA 200
Execute: ACC ← RAM[200]
Bus used: data bus