Question 6(c) 2012 · May-June · Paper 33 · 4 marks
Reveal official mark-scheme answer
Official answer for Question 6
Part (c)
Part (c)
Question 16
Show text version of question
Question 6
Part (c)
Question 6
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 given trace table. The first instruction
For of the program is loaded into main memory at address 200. Examiner's Use 200 LDD 208 201 INC 202 STO 208 203 LDD 207 204 INC 205 STO 207 206 END 207
Question 16
208 150 Memory Address Accumulator 207 208
Question 16
150
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_33.pdf
