Question 7(a)(ii) 2015 · May-June · Paper 13 · 3 marks
Reveal official mark-scheme answer
Official answer for Question 7
Part (a)
(ii)
(ii)
Question 1
Question 1
Question 1
Question 1
Show text version of question
Question 7
Part (a)
(ii)
Question 7
The table shows assembly language instructions for a processor which has one general purpose
register, the Accumulator (ACC).
Instruction Explanation Op code Operand
LDD <address> Direct addressing. Load contents of given address to ACC
STO <address> Store the contents of ACC at the given address
Indirect addressing. The address to be used is at the given LDI <address> address. Load the contents of this second address to ACC
Indexed addressing. Form the address from <address> + LDX <address> the contents of the index register. Copy the contents of this calculated address to ACC
INC <register> Add 1 to contents of the register (ACC)
JMP <address> Jump to the given address
END Return control to operating system
The diagram shows the contents of the memory.
Main memory
120 0000 1001
121 0111 0101
122 1011 0110
123 1110 0100
124 0111 1111
125 0000 0001
126 0100 0001
127 0110 1001
200 1000 1000
Question 15
(ii)
Show the contents of the Accumulator after execution of the instruction:
LDI 124
Accumulator:
Explain how you arrived at your answer.
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
......................................................................................................................................
Why this question appears here
98% assigned-topic match · Processor fundamentals › Assembly language
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 9608_s15_qp_13.pdf
