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 | |
|---|---|---|
| 1LDA 25 | AADD 7 (operation = ADD) | |
| 2CIR → CU | BThe decode stage: the control unit reads the instruction held in the current instruction register | |
| 3The operation part of an instruction tells the CU what action to carry out | CCU looks up opcode in instruction set | |
| 4The CU uses the instruction set to understand what a command in the CIR means | DThe control unit decodes the instruction, not the ALU. The ALU only does arithmetic and logic during execute. | |
| 5Decode: the ALU reads the CIR and works out the instruction | EAn instruction made of an operation (LDA, load) and an operand (25) that the control unit works out during decode | |
| 6Decode: the instruction is fetched from RAM into the MDR | FThis describes the fetch stage. Decode happens after fetch, when the CU works out the operation and operand from the CIR. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
Decode — The fetch-decode-execute stage where the control unit reads the instruction in the CIR and works out the operation to perform and the data (operand) it needs.The CU decodes the instruction in the CIRLDA 20 : operation = LDA, operand = 20CU reads the CIR to decode the instructionThe CU uses the instruction set to decodeInstruction: ADD 7
Operation: ADD
Operand: 7