Professional Documents
Culture Documents
Mnemonics
Natural language
Hexadecimal
Binary
Complete this diagram to show how high-level and low-level languages become
machine code (2 marks)
High-level
language
Low-level
language
compiled
Is ..
To become
Machine code
assembled
Is ..
To become
Mnemonics
Natural language
Hexadecimal
Binary
Explain what mnemonics are and why they are used in low-level language
programming. (4 marks)
They are abbreviations such as MOV and CMP which are used in assembly language.
Each mnemonic is equivalent to a machine code instruction.
Assembly language is written using an assembler which helps the programmer by
checking for errors in the mnemonics before compiling the program into machine code.
Machine code is binary bytes which would be hard for a programmer to write as they
would see the program as binary numbers. Mnemonic abbreviations in assembly
languages make understanding the program easier
fixed
variable
several
listen
2. Event-driven programs
for an event such as a mouse click
and then carry out the appropriate action
Look
listen
feel
search
entities
items
such as a
objects