Past-paper question · 2018 October-November · Paper 11 · Q4(b)

Question 4(b) 2018 · October-November · Paper 11 · 2 marks

Original past-paper question for 4(B)
Original past-paper question for 4(B)
Reveal official mark-scheme answer Official mark-scheme answer for 4(B)

Official answer for Question 4

Part (b)

Question 1

mark for 1 correct tick

Question 2

✓
2 marks for 3 correct ticks
✓
Instruction
✓
Symbolic
✓
Absolute
✓
ADD 90

Question 9

✓
CMP found

Question 9

✓
STO 20

Question 9

Mark scheme 9608_w18_ms_11.pdf →

Show text version of question

Question 4

Part (b)

Question 4

The table shows assembly language instructions for a processor which has one general purpose

register, the Accumulator (ACC) and an index register (IX).

Instruction Explanation Op code Operand Direct addressing. Load the contents of the location at the given LDD <address> address to ACC. Indexed addressing. Form the address from <address> + the LDX <address> contents of the Index Register. Copy the contents of this calculated address to ACC. LDR #n Immediate addressing. Load the number n to IX. STO <address> Store contents of ACC at the given address. ADD <address> Add the contents of the given address to ACC. INC <register> Add 1 to the contents of the register (ACC or IX). DEC <register> Subtract 1 from the contents of the register (ACC or IX). CMP <address> Compare contents of ACC with contents of <address>. Following a compare instruction, jump to <address> if the compare JPE <address> was True. Following a compare instruction, jump to <address> if the compare JPN <address> was False. JMP <address> Jump to the given address. OUT Output to the screen the character whose ASCII value is stored in ACC. END Return control to the operating system.

Part (b)

The assembly language instructions in the following table use either symbolic addressing or

absolute addressing.

Tick (3) one box in each row to indicate whether the instruction uses symbolic or absolute addressing.

Instruction Symbolic Absolute

ADD 90

CMP found

STO 20

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

Keep practising this topic