Assembly

Computer Science: OCR A Level, topic 2.4.5

Assembly Language

Assembly language was the first type of programming language to come about after machine code programming.

Assembly language

Assembly language

  • Assembly language was the first type of programming language to come about after machine code programming.
  • Assembly language uses 3 letter mnemonics for key actions (such as INP for input), this makes them easier to remember for a developer.
Little man computer

Little man computer

  • The Little Man Computer (LMC) is a virtual implementation of a Von Neumann processor that allows people to test out a basic assembly language compiler.
  • This allows users to see how the registers and memory locations are used in a processor.
  • The LMC has 11 assembly instructions.
Little man computer addressing

Little man computer addressing

  • Assembly language is low level and can use different types of address to access memory locations.
  • The LMC only supports direct addressing of memory locations.

Test yourself on Assembly

  • How many letters do each mnemonic assembly instruction have?

  • What type of addressing does the LMC support?

Practise this topic for free