Question 5(b) 2012 · May-June · Paper 32 · 8 marks
Reveal official mark-scheme answer
Official answer for Question 5
Part (b)
Part (b)
- IR contents converted to 3
- Computed address of 101 + 3 = 104
- Then, ‘direct addressing’ to 104
- Final value in Acc
Show text version of question
Question 5
Part (b)
Question 5
Question 4
Question 3
Question 2
Question 1
Question 12
5 The table shows the assembly language instructions for a processor which has one general For purpose register – the Accumulator. Examiner's Use
Instruction Explanation Op Code Operand
LDD <address> Load using direct addressing
STO <address> Store the contents of the Accumulator at the given address
LDI <address> Load using indirect addressing
LDX <address> Load using indexed addressing
INC Add 1 to the contents of the Accumulator
END End the program and return to the operating system
Part (b)
Write on the diagram to explain the instruction shown.
Show the contents of the registers after the execution of the instruction.
LDX 101 Main memory 100 0100 0000 101 0110 1000 Accumulator 102 1111 1110 103 1111 1010 104 0101 1101 105 0001 0001 Index Register 106 1010 1000
200 1001 1111
Question 13
Why this question appears here
71% assigned-topic match · Processor fundamentals › CPU architecture
Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.
Permanent source page: Educate A Change · From 9691_s12_qp_32.pdf
