Question 3(a) 2015 · October-November · Paper 32 · 4 marks
Reveal official mark-scheme answer
Official answer for Question 3
Part (a)
Part (a)
Question 2
Question 13
Question 25
Show text version of question
Question 3
Part (a)
The following table shows some assembly language instructions from the computer’s instruction set.
Instruction Explanation Op code Operand
Direct addressing. Load the contents of the given address to the LDD <address> Accumulator (ACC) Indirect addressing. The address to be used is at the given address. LDI <address> Load the contents of this second address to ACC LIX <address> Load the contents of the address to the Index register (IX) Indexed addressing. Form the address from <address> + the contents LDX <address> of IX. Copy the contents of this calculated address to ACC
The test program shown in memory locations 700 onwards Address Main memory is to be executed. 700 LIX 902 Shown are: 701 LDD 901
- the first four instructions only of this program
- other memory locations which contain data accessed
702 LDI 901
by the program 703 LDX 901
. . . . Complete the trace table below for the first four program instructions.
Register 900 0
Instruction ACC Index Register (IX) 901 917
LIX 902 902 2
903 25 LDD 901 904 28 LDI 901 . . . .
LDX 901 916 96
917 13
Question 9
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 9691_w15_qp_32.pdf
