Past-paper question · 2015 October-November · Paper 32 · Q3(a)

Question 3(a) 2015 · October-November · Paper 32 · 4 marks

Original past-paper question for 3(A)
Reveal official mark-scheme answer Official mark-scheme answer for 3(A)

Official answer for Question 3

Part (a)

Part (a)

✓
Register
✓
Instruction
✓
ACC
✓
Index Register
✓
(IX)
✓
LIX 902

Question 2

[1]
✓
LDD 901
✓
917
[1]
✓
LDI 901

Question 13

[1]
✓
LDX 901

Question 25

[1]

Mark scheme 9691_w15_ms_32.pdf →

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
  • 702 LDI 901

  • other memory locations which contain data accessed

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

[4]

Question 9

Topic relevance

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

Keep practising this topic