Past-paper question · 2015 May-June · Paper 13 · Q7(a)(i)

Question 7(a)(i) 2015 · May-June · Paper 13 · 1 mark

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

Official answer for Question 7

Part (a)

(i)

Part (a)

(i)

✓
Accumulator:
✓
0

Question 1

Question 1

Question 1

✓
0

Question 1

✓
0

Question 1

[1]

Mark scheme 9608_s15_ms_13.pdf →

Show text version of question

Question 7

Part (a)

(i)

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

(i)

Show the contents of the Accumulator after execution of the instruction:

LDD 121

Accumulator:

[1]
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 9608_s15_qp_13.pdf

Keep practising this topic