Past-paper question · 2012 May-June · Paper 32 · Q5(c)

Question 5(c) 2012 · May-June · Paper 32 · 9 marks

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

Official answer for Question 5

Part (c)

Part (c)

✓
Memory Address
✓
Accumulator
✓
507
✓
508
✓
509
✓
510

Question 22

✓
170
✓
0
✓
0

Mark scheme 9691_s12_ms_32.pdf →

Show text version of question

Question 5

Part (c)

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 (c)

Trace this assembly language program using the trace table below. For

Examiner's 500 LDD 507 Use 501 INC 502 STO 509 503 LDD 508 504 INC 505 STO 510 506 END 507 22 508 170 509 0 510 0

Memory Address Accumulator 507 508 509 510 22 170 0 0

[5]
Topic relevance

Why this question appears here

86% 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_32.pdf

Keep practising this topic