Past-paper question · 2021 May-June · Paper 11 · Q3(c)(ii)

Question 3(c)(ii) 2021 · May-June · Paper 11 · 1 mark

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

Official answer for Question 3

Part (c)

(ii)

✓
256

Question 1

✓
9608/11
✓
Cambridge International AS & A Level – Mark Scheme
✓
May/June 2021
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 9608_s21_ms_11.pdf →

Show text version of question

Question 3

Part (c)

(ii)

Question 3

The table shows part of the instruction set for a processor. The processor has one general purpose

register, the Accumulator (ACC), and an Index Register (IX).

Instruction Explanation Op code Operand LDD <address> Direct addressing. Load the content of the location at the given address to ACC. LDI <address> Indirect addressing. The address to be used is at the given address. Load the contents of this second address to ACC. DEC <register> Subtract 1 from the contents of the register (ACC or IX). CMP <address> Compare the contents of ACC with the contents of <address>. JMP <address> Jump to the given address. JPE <address> Following a compare instruction, jump to <address> if the compare was True. STO <address> Store the contents of ACC at the given address. END Return control to the operating system.

The current contents of the main memory are:

Address Instruction 100 LDD 200 101 CMP 201 102 JPE 106 103 DEC ACC 104 STO 200 105 JMP 101 106 END

…

200 2 201 0 202 200

Question 7

Each instruction in the assembly language program is encoded in 16 bits (8-bit op code followed by an 8-bit operand).

(ii)

State the maximum number of op codes that can be represented using eight bits.

.....................................................................................................................................

[1]
Topic relevance

Why this question appears here

99% 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_s21_qp_11.pdf

Keep practising this topic