Skip to content
Marlbridge

Study Guides

A Level Computer Science: Processor Fundamentals (Cambridge 9618)

Guide to Topic 4 of Cambridge AS Computer Science 9618: the fetch-execute cycle and its registers, tracing assembly code, addressing modes and bit masking.

Level
AS LEVEL
Topic
Processor Fundamentals
Updated

Aligned to Cambridge A Level Computer Science (9618), 2026. Official specification .

Syllabus points this page covers

9618 (AS Level)

  • 4.1 Central Processing Unit (CPU) Architecture
  • 4.2 Assembly Language
  • 4.3 Bit manipulation

This page covers all 3 subtopics in topic 4, Processor Fundamentals.

Found an error? Report a correction.

This guide covers Topic 4 Processor Fundamentals, an AS Level topic for Cambridge International AS & A Level Computer Science 9618, 2027-2029 series. The syllabus is staged rather than tiered: AS Level candidates study sections 1–12, while the full A Level adds sections 13–20.

Where this fits in 9618

Processor Fundamentals follows Information representation, Communication and Hardware, and it is where the course moves from what data looks like and how it travels between devices to how a processor actually executes instructions on that data. Understanding CPU architecture here is a prerequisite for System Software (Topic 5), which explains how an operating system manages the processor and memory this topic introduces, and assembly language forms the conceptual bridge to programming topics later in the AS-level core, since it exposes what a high-level programming construct ultimately becomes at the level of individual machine instructions.

Syllabus coverage

CAMBRIDGE AS & A LEVEL COMPUTER SCIENCE 9618 — TOPIC 4 PROCESSOR FUNDAMENTALS

  • 4.1 Central Processing Unit (CPU) Architecture — this is a large sub-topic; this guide focuses on the fetch-execute cycle and the registers and buses it uses, which it covers in depth. It does not go into the sub-topic’s other required content: the Von Neumann model and stored-program concept, the general-purpose versus special-purpose register distinction, the roles of the system clock and Immediate Access Store, factors affecting processor performance (processor type and core count, bus width, clock speed, cache memory), named ports (such as USB, HDMI and VGA), register transfer notation, or interrupts (their causes, applications, the Interrupt Service Routine, when an interrupt is detected during the fetch-execute cycle, and how it is handled)
  • 4.2 Assembly Language — writing and tracing simple assembly language programs using a defined instruction set, including addressing modes. It does not go into the relationship between assembly language and machine code, or the stages of the two-pass assembly process
  • 4.3 Bit manipulation — using logical operations to manipulate and test individual bits within a byte or word through bit masking. It does not go into logical, arithmetic or cyclic binary shifts, or monitor/control device applications of bit manipulation

How to approach it

CPU architecture (4.1) is best learned by being able to describe the fetch-execute cycle as a precise sequence of register-to-register transfers, not as a vague summary of “the CPU fetches an instruction and runs it.” Candidates should know the specific registers involved (the program counter, memory address register, memory data register, current instruction register and the accumulator, plus the index register and status register, along with the address, data and control buses) and be able to state, step by step, which register’s contents change at each stage of fetch, decode and execute. Diagrams of the fetch-execute cycle are worth practising from memory, since being asked to describe or complete a partially given cycle is a common exam format.

Assembly language (4.2) is graded on the ability to trace a short program accurately, which means working through each instruction in sequence and tracking the changing contents of the registers and relevant memory locations exactly as the CPU would. This is a skill that rewards deliberate, careful practice tracing example programs by hand rather than only reading about what each instruction type does — a single mis-tracked register value early in a trace will cascade into every following line being wrong. Addressing modes (direct, immediate, indirect, indexed and relative) are frequently confused with one another, so building a clear, memorised distinction between “the instruction contains the value itself” (immediate) and “the instruction contains the address of the value” (direct) is worth fixing early, since exam questions often test exactly this distinction using near-identical instructions that differ only in addressing mode.

Bit manipulation (4.3) tests fluency with the logical operations (AND, OR, XOR and NOT) applied bit by bit to a byte or word, typically to mask, set, clear or test specific bits without affecting the others. The most reliable way to build this fluency is repeated practice working through binary examples by hand — using AND with a mask of zeros and ones to clear specific bits while leaving others unchanged, for instance, or using XOR to toggle a bit — rather than trying to reason about the effect abstractly. Being able to explain, in words, why a particular mask produces a particular result (not just stating the result) is what distinguishes secure understanding from a memorised procedure that breaks down on an unfamiliar example.

Because this topic sits early in the AS-level core and its concepts (registers, the fetch-execute cycle, and low-level manipulation of binary data) recur whenever later topics discuss how software actually executes on hardware, treating Processor Fundamentals as one to revisit rather than one to learn once tends to pay off well beyond this topic’s own exam questions — particularly in Topic 15 (Hardware and Virtual Machines) at full A Level, which extends processor architecture to parallel processing and virtual machines built directly on these AS-level foundations.

The seven registers named in the lesson sit inside a CPU; three buses join it to main memory.
The registers and buses the fetch-execute cycle uses.
PC copied to MAR, PC incremented, memory read into MDR, MDR copied to CIR, using illustrative values; then decode and execute.
The fetch stage as a sequence of register transfers (illustrative values).
Operand 20 under five addressing modes gives 20, 7, 42, 99 and address 121 from an illustrative memory.
Same operand, five addressing modes, different results (illustrative memory).
Trace table of four instructions: ACC becomes 5, 8, 8, 16 and address 20 becomes 8.
Tracing means tracking registers and memory after every instruction.

Worked example: masking a byte

Suppose a byte holds the value 10110110 and a question asks how to clear (set to 0) the two most significant bits while leaving the rest unchanged. Using AND with the mask 00111111 forces the top two bits to 0 regardless of their original value (since anything ANDed with 0 is 0), while every other bit is ANDed with 1 and therefore keeps its original value — giving the result 00110110. The same reasoning applies in reverse for setting bits to 1 using OR with an appropriate mask, and for toggling specific bits using XOR with a mask of 1s in exactly the positions to be flipped. Practising this kind of worked trace with several different masks, on paper, until the pattern is automatic is far more reliable exam preparation than memorising the truth tables for AND, OR, XOR and NOT in isolation from how they are actually applied.

10110110 AND 00111111 gives 00110110: the top two bits are forced to 0.
AND with a mask clears chosen bits and keeps the others.
OR sets bits, XOR toggles bits and NOT inverts, on the byte 10110110.
OR sets, XOR toggles and NOT flips bits.

Frequently asked questions

What registers are used in the fetch-execute cycle? The program counter, memory address register, memory data register, current instruction register and accumulator, plus the index register and status register, connected by the address, data and control buses.

How do you clear specific bits in a byte? AND the byte with a mask that has 0s in the positions to clear and 1s elsewhere. For example, 10110110 AND 00111111 gives 00110110, clearing the two most significant bits.

Is Processor Fundamentals AS or A Level content in Cambridge 9618? Processor Fundamentals is Topic 4, part of the AS content in sections 1 to 12. Its ideas are extended at full A Level in Topic 15, Hardware and Virtual Machines.

Why do students lose marks on assembly language tracing? A single mis-tracked register value early in a trace makes every following line wrong, so trace each instruction in order and record every change.

Official syllabus

Cambridge International AS & A Level Computer Science 9618 syllabus for 2027-2029 — cambridgeinternational.org. This syllabus is valid for the 2027-2029 examination series.

More resources on this topic

Related resources

Get free revision emails (optional)

Occasional emails with practice questions, worked explanations and links to free resources for the qualification and subjects you choose. No spam, and you can unsubscribe from any email. The free tools on this site never need an email.