Past-paper question · 2012 May-June · Paper 31 · Q5(a)

Question 5(a) 2012 · May-June · Paper 31 · 6 marks

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

Official answer for Question 5

Part (a)

Part (a)

✓
LDD 105
✓
Main memory
✓
100
✓
0100 0000
✓
101
✓
0110 1011
✓
Accumulator
✓
102
✓
1111 1110
✓
0001 0001
✓
103
✓
1111 1010
✓
104
✓
0101 1101
✓
105
✓
0001 0001
✓
106
✓
1010 1000
✓
107
✓
1100 0001
✓
200 1001 1111
✓
Mark as follows:
  • Sensible annotation which makes clear 105 is the address used
  • Final value in Acc
[2]
✓
© University of Cambridge International Examinations 2012
✓
Mark Scheme: Teachers’ version
✓
Syllabus
✓
Paper
✓
GCE A LEVEL – May/June 2012
✓
9691

Question 31

Mark scheme 9691_s12_ms_31.pdf →

Show text version of question

Question 5

Part (a)

Question 5

Question 4

Question 3

Question 2

Question 1

[4]

Question 12

5 The table shows the assembly language instructions for a processor which has one general For purpose register – the Accumulator. Examiner's Use

Instruction Explanation Op Code Operand

LDD <address> Load using direct addressing

STO <address> Store the contents of the Accumulator at the given address

LDI <address> Load using indirect addressing

LDX <address> Load using indexed addressing

INC Add 1 to the contents of the Accumulator

END End the program and return to the operating system

Part (a)

Write on the diagram to explain the instruction shown.

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

LDD 105 Main memory 100 0100 0000 101 0110 1000 Accumulator 102 1111 1110 103 1111 1010 104 0101 1101 105 0001 0001 106 1010 1000 107 1100 0001

200 1001 1111

[2]
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_s12_qp_31.pdf

Keep practising this topic