Question 9(a)(ii) 2016 · May-June · Paper 11 · 1 mark
Reveal official mark-scheme answer

Official answer for Question 9
Part (a)
(ii)
(ii)
0000 0111
Question 11
Show text version of question
Question 9
Part (a)
(ii)
Question 9
The table shows assembly language instructions for a processor which has one general purpose
register, the Accumulator (ACC) and an index register (IX).
Instruction Explanation
Op code Operand
LDD <address> Direct addressing. Load the contents of the given address to ACC.
LDX <address> Indexed addressing. Form the address from <address> + the contents of the index register. Copy the contents of this calculated address to ACC. STO <address> Store contents of ACC at the given address.
ADD <address> Add the contents of the given address to ACC.
INC <register> Add 1 to the contents of the register (ACC or IX).
DEC <register> Subtract 1 from the contents of the register (ACC or IX).
CMP <address> Compare contents of ACC with contents of <address>.
JPE <address> Following a compare instruction, jump to <address> if the compare was True.
JPN <address> Following a compare instruction, jump to <address> if the compare was False. JMP <address> Jump to the given address.
OUT Output to screen the character whose ASCII value is stored in ACC.
END Return control to the operating system. The diagram shows the current contents of a section of main memory and the index register:
60 0011 0010 61 0101 1101 62 0000 0100 63 1111 1001 64 0101 0101 65 1101 1111 66 0000 1101 67 0100 1101 68 0100 0101 69 0100 0011 ...
Index register: 0 0 0 0 1 0 0 0
Question 13
(ii)
Show the contents of the index register after the execution of the instruction:
DEC IX
Index register:
Question 14
Why this question appears here
99% 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_s16_qp_11.pdf
