Assemblers

Computer Science: OCR A Level, topic 2.2.12

Assemblers

Assemblers translate assembly code into executable binary.

Assemblers

Assemblers

  • Assembly is a very low-level programming language.
  • Each instruction directly corresponds to a binary sequence, and the assembler replaces the commands with the relevant binary.
Pros of assemblers

Pros of assemblers

  • Assembly provides exact control over the hardware:
  • This can lead to very efficient code that takes up little space in memory and is quick to execute.
  • Assembly can be used on low specification machines.
Cons of assemblers

Cons of assemblers

  • Assembly is very difficult to use, and needs deep technical knowledge of the central processing unit and the memory.

Test yourself on Assemblers

  • What is the main motivation for using assembly?

  • Which of these is true about assemblers?

Practise this topic for free