Worked solution from the Processor Fundamentals Paper 1 Theory Fundamentals booklet, Part 1 of 3.
Write: the operand is an offset that is added to a base value to give the address from which the contents are loaded [1]
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.
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.
| Instruction | Value in ACC |
|---|---|
| LDM #98 | 98 |
| LDI 101 | 8 |
| LDX 100 | 32 |
98 [1]
8 [1]
32 [1]
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]
▶ 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.