Left: some machine code displayed in hexadecimal
Low level languages
Higher level languages
Lowest
Machine Code / Language
Assembly
Language
Java
C++
Python
Javascript
C
More platform dependent
Less platform dependent
Platform specific
Example of some assembly code and machine code
A statement in high level language:
a = a + 1
Same code, written in assembly language:
LDS r1, #0001 INC r1 STS r1, #0001
Even though the assembly code looks very clumsy, it is exactly what the computer will do to increase a number in memory, inside the CPU.