Loading…
5 of 5 objectives have lessons · 0 studied · 0 secure
What Cambridge says you should be able to do, in our words. Codes are the topic number plus the objective’s position.
Understand the relationship between assembly language and machine code.
Taught in: Assembly language and machine code: names for the bits · 6 questions
Describe the different stages of the assembly process for a two-pass assembler.
Apply the two-pass assembler process to a given simple assembly language program.
Taught in: The two-pass assembler: finding everything before building anything · 6 questions
Trace a given simple assembly language program.
The syllabus gives an example instruction set: LDM, LDD, LDI, LDX and LDR (load, using immediate, direct, indirect or indexed addressing; LDR loads a number into IX), MOV, STO, ADD, SUB, INC, DEC, JMP, CMP, CMI, JPE and JPN (jump after a compare that was True or False), IN, OUT and END. Questions assume there is only one general purpose register, the Accumulator (ACC); IX is the Index Register; an address operand can be absolute or symbolic; # marks a denary number (e.g. #123), B a binary number (e.g. B01001010) and & a hexadecimal number (e.g. &4A).
Taught in: The instruction set: nineteen opcodes and two registers, Tracing a program: one row per instruction actually run · 12 questions
Understand that the instructions in a set of instructions are organised into groups.
Including the groups: data movement; input and output of data; arithmetic operations; unconditional and conditional instructions; compare instructions.
Taught in: The five instruction groups (and the two that trip everyone up) · 5 questions
Understand, and be able to use, different modes of addressing.
Including immediate, direct, indirect, indexed and relative addressing.
Taught in: Five ways to find a number: modes of addressing · 6 questions