Past-paper question · 2013 October-November · Paper 33 · Q3(d)

Question 3(d) 2013 · October-November · Paper 33 · 7 marks

Question 3

Part (d)

Question 3

[3]

Part (d)

The following table shows some of a processor’s instruction set in assembly language.

For Examiner's Use Instruction Explanation Op Code Operand Direct addressing. Load the contents of the given address LDD <address> to ACC Indirect addressing. At the given address is the address to LDI <address> be used. Load the contents of this second address to ACC STO <address> Store the contents of ACC at the given address ADD <address> Add the contents of the given address to the ACC INC <register> Add 1 to the contents of the register (ACC or IX) JMP <address> Jump to the given address The following program is to be executed. Shown are: • the first seven instructions in this program • the memory locations which will be accessed by this program. Address Main memory 130 LDI 160 131 ADD 153 132 STO 153 133 LDD 160 134 INC ACC 135 STO 160 136 JMP 130 150

Question 13

151

Question 23

152

Question 11

153 0 160 150

Question 9

Complete the trace table below for two iterations of the loop. For Show each change in the contents of the register and memory locations. Examiner's Use Register Memory location ACC 153 160 0 150

[4]

Question 10

Reveal official mark-scheme answer Official mark-scheme answer for 3(D)Official mark-scheme answer for 3(D)

Mark scheme 9691_w13_ms_33.pdf →

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_w13_qp_33.pdf

Keep practising this topic