Past-paper question · 2017 May-June · Paper 12 · Q5(c)(ii)

Question 5(c)(ii) 2017 · May-June · Paper 12 · 2 marks

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

Official answer for Question 5

Part (c)

(ii)

✓
LDR #77

Question 2

✓
LDR

Question 1

✓
#77

Question 1

✓
9608/12
✓
Cambridge International AS/A Level – Mark Scheme
✓
May/June 2017
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 9608_s17_ms_12.pdf →

Show text version of question

Question 5

Part (c)

(ii)

Question 5

The following 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 Op code Op code Explanation Operand (mnemonic) (binary) Direct addressing. Load the contents of LDD <address> 0001 0011 the location at the given address to the Accumulator (ACC). Indirect addressing. The address to be used is LDI <address> 0001 0100 at the given address. Load the contents of this second address to ACC. Indexed addressing. Form the address from <address> + the contents of the Index LDX <address> 0001 0101 Register. Copy the contents of this calculated address to ACC. Immediate addressing. Load the denary LDM #n 0001 0010 number n to ACC. Immediate addressing. Load denary number n LDR #n 0001 0110 to the Index Register (IX). Store the contents of ACC at the given STO <address> 0000 0111 address.

The following diagram shows the contents of a section of main memory and the Index Register (IX). Computer scientists often write binary representations in hexadecimal.

(ii)

A second instruction has been written in hexadecimal as:

16 4D

Write the assembly language for this instruction with the operand in denary.

.......................................................................................................................................[2]

Question 10

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

Keep practising this topic