Cambridge AS Level Computer Science 9618 · 4.1 Central Processing Unit (CPU) Architecture

Q16 · 9618/12/O/N/25 Q3

Worked solution from the Processor Fundamentals Paper 1 Theory Fundamentals booklet, Part 1 of 3.

Q169618/12/O/N/25original Q3Structured · 10 marks
Question 3 from 9618/12/O/N/25

Worked solution

(a)(i)

Write: the operand is an offset that is added to a base value to give the address from which the contents are loaded [1]

(a)(ii)

Any two special purpose registers:

Program Counter (PC) [1]

Memory Data Register (MDR) [1]

Also accepted: Memory Address Register (MAR), Current Instruction Register (CIR), Status Register.

(b)

Work through each instruction:

`LDM #98` loads the number 98.

`LDI 101`: address 101 holds 98, so the address used is 98. Address 98 holds 8.

`LDX 100`: address 100 + IX (2) = 102. Address 102 holds 32.

InstructionValue in ACC
LDM #9898
LDI 1018
LDX 10032

98 [1]

8 [1]

32 [1]

(c)

Clock speed:

A higher clock speed means the processor can do more fetch-execute cycles per second [1]

so more instructions/data are processed each second [1]

Cache memory:

More cache can store more of the frequently used instructions and data [1]

which reduces the need to access the slower RAM [1]

KEY IDEAHigher clock speed gives more cycles per second; more cache means fewer slow trips to RAM; for LDI and LDX work out the real address first.
TOTAL 10 marks

Official mark scheme

Mark scheme for 9618/12/O/N/25 question 3
VIDEO
▶ Topic lesson

A lesson on this topic · by Craig'n'Dave. Tap the picture to open it on YouTube.

Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.