Single lesson · Key Stage 3

Machine code and assembly (Little Man Computer) – Year 9 Computing lesson

Pupils learn to explain why a CPU only runs machine code and translate LMC instructions between assembly language and machine code.

Also in a bundle Inside the CPU – Year 9 Computing lessons 6 lessons for £20 · save 16% on buying separately

Lesson 2 of 6 in unit 9.4 Inside the CPU, taught in Year 9, Spring 2. It answers one big question: Why do programmers write assembly language, not machine code?

By the end, pupils can explain why a CPU only runs machine code and translate LMC instructions between assembly language and machine code.

The Build (the main task)
Complete a table translating a six-line LMC program from machine code into assembly language, then explain what it does.
Support version
Part-filled table: the instruction table is beside it and the first two lines are done.
Challenge
Translate a program that uses SUB and say what it outputs for the inputs 9 and 4.
Real-world link
Every phone app ends up as machine code; assembly language is the level just above it.
Key words
Machine code, Assembly language and Translate, each with a definition, an icon and a common mix-up on the key vocabulary slide.
Misconceptions it tackles
“The CPU runs mnemonics like ADD directly”; “Assembly language is binary, so it is the same as machine code”.
National Curriculum
NC6 (how instructions are stored and executed; text, sound and pictures as binary); NC4 (boolean logic (AND, OR, NOT) in circuits and programming; binary numbers, addition and conversion).

Every lesson follows the same Code & Commerce structure: a Bell Task recall starter, key vocabulary with definitions and icons, short teaching chunks with a check before pupils move on, The Build (one main task), challenge questions that get harder, and an exit question. Answers reveal one at a time on the slides, and everything is editable PowerPoint and Word.

Pupils need computers for the main task.

Also sold in the Inside the CPU unit bundle, which includes the medium term plan, and in the full-year and complete-course bundles.

What's included

  • Slide deck (PowerPoint)
  • Lesson plan (Word)
  • Worksheet (Word)
  • Support worksheet with scaffolds (Word)
  • Single-teacher licence: use and adapt it with your own classes

More for KS3 Computing

See all

Written for the specifications named. Not endorsed by or affiliated with any exam board.