Skip to main content
A-LevelComputer ScienceProcessor fundamentals9618/12 · May/June 2023 · Q36 Marks

A program is written in assembly language.

  1. (a)The program is converted into machine code by a two-pass assembler. Draw one or more lines to identify the pass or passes in which each action takes place. Action Pass generates object code first reads the source code one line at a time removes white space adds labels to the symbol table second[3]
  2. (b)Assembly language statements can use different modes of addressing. Complete the following description of addressing modes. ............... addressing is when the operand holds the memory address of the data. ............... addressing is when the operand holds a memory address that stores the memory address of the data. ............... addressing is when the operand is the data.[3]

This question uses a diagram from the original paper, which isn't shown here. Open the full paper from the past papers archive to see it.

Mark scheme

Marking points from the official mark scheme (May/June 2023). The mark or mark type is shown in brackets.

  1. [3] 1 mark for generates object code to second pass 1 mark for reads source code one line at a time to both boxes 1 mark for removes white space and adds labels to first pass [Diagram showing lines connecting actions to passes]
  2. [3] 1 mark for each correct term Direct addressing is when the operand holds the memory address of the data. Indirect addressing is when the operand holds a memory address that stores the memory address of the data. Immediate addressing is when the operand is the data.

Write your answer and get it marked

On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.

Sign up free →

About this question

Topic
Processor fundamentals, A-Level Computer Science (syllabus 9618). Structured question, 6 marks.
Source
A-Level Computer Science, May/June 2023 Paper 1 Variant 2, question 3.

Questions and mark schemes are from past examination papers and remain the copyright of the exam board. How Oracle Prep builds its content

Related Computer Science questions

© 2026 Oracle Prep