Past-paper question · 2016 October-November · Paper 11 · Q8(a)(i)

Question 8(a)(i) 2016 · October-November · Paper 11 · 1 mark

Original past-paper question for 8(A)(I)
Original past-paper question for 8(A)(I)
Reveal official mark-scheme answer Official mark-scheme answer for 8(A)(I)

Official answer for Question 8

Part (a)

(i)

Part (a)

(i)

✓
Accumulator:

Question 1

✓
0
✓
0

Question 1

✓
0

Question 1

Question 1

Question 1

[1]

Mark scheme 9608_w16_ms_11.pdf →

Show text version of question

Question 8

Part (a)

(i)

Question 8

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 LDD <address> Direct addressing. Load the contents of the given 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. STO <address> Store contents of ACC at the given address. ADD <address> Add the contents of the given address to ACC. 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. Output to the screen the character whose ASCII value is stored in OUT ACC. END Return control to the operating system.

The diagram shows the contents of the main memory:

Main memory 800 0110 0100 801 0111 1100 802 1001 0111 803 0111 0011 804 1001 0000 805 0011 1111 806 0000 1110 807 1110 1000 808 1000 1110 809 1100 0010 : :

(i)

Show the contents of the Accumulator after execution of the instruction:

LDD 802

Accumulator:

[1]

Question 11

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

Keep practising this topic