Seneca

Translation - Assemblers

Computer Science: OCR GCSE, topic 2.5.5

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.
  • The assembler replaces the commands with the relevant binary.
Pros of assemblers

Pros of assemblers

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

Cons of assemblers

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

Test yourself on Translation - Assemblers

  • A programmer writes code for a specific processor and wants it to run quickly while using very little memory. Why might they write this code in assembly language?

  • Select the statement that is true about code written in assembly.

Practise this topic for free