Worked solution from the Processor Fundamentals Paper 1 Theory Fundamentals booklet, Part 2 of 3.
The first pass deals with the source text and labels. The second pass makes the object code.
| Action | Pass |
|---|---|
| generates object code | second |
| reads the source code one line at a time | first and second |
| removes white space | first |
| adds labels to the symbol table | first |
generates object code → second [1]
reads the source code one line at a time → both first and second [1]
removes white space and adds labels to the symbol table → first [1]
Write the three terms in order:
Direct [1]
Indirect [1]
Immediate [1]
▶ Starts at Q3 (39:33)
Starts at Q3 (39:33) · by Zafar Ali Khan (ZAK). 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.