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 ← PC + 1 | ACopy the fetched instruction from the memory data register into the current instruction register | |
| 2CIR ← MDR | BThe copy goes the wrong way. The instruction must be copied from the MDR into the CIR, not from the CIR into the MDR. | |
| 3The PC is incremented during fetch so the CPU knows where the next instruction is stored | CCIR ← MDR | |
| 4The fetched instruction moves from the MDR to the CIR so it is ready to be decoded | DPC ← PC + 1 | |
| 5MDR ← CIR | EIncrease the program counter by 1 so it holds the address of the next instruction to fetch | |
| 6PC ← PC - 1 | FThe PC is decreased instead of increased, so it would point to the previous instruction and the program would not move forward. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
PC ← PC + 1; CIR ← MDR — End of fetch: the PC is increased by 1 so it points to the next instruction, and the instruction held in the MDR is copied to the CIR, ready to be decoded.PC ← PC + 1CIR ← MDRPC ← PC + 1PC ← PC + 1
CIR ← MDRPC ← PC + 1
CIR ← MDR