🔤Assembly Language
Also known as Assembly, ASM, Assembler Code, x86 Assembly
Code written as the chip's own small orders, one step on each line.
Think of it like
It is like telling a robot each small step. You say one step at a time.
Example
A few lines of x86 assembly put 5 in a register and add 3. A register is a tiny slot inside the processor.
Why it matters
It shows what a computer really does. Every other language ends up as something like it.
Definition
Example code
nasm
mov eax, 5
add eax, 3 ; eax now holds 8Common mistake
Key takeaways
- 1One order per line. Each line is one step.
- 2Chip specific. Each processor has its own.
- 3Very fast, very long. Many lines for small tasks.