# Assembly Language

> Code written as the chip's own small orders, one step on each line.

**Field:** Software Development  
**Category:** Languages  
**Also known as:** Assembly, ASM, Assembler Code, x86 Assembly

## Think of it like

It is like telling a robot each small step. You say one step at a time.

## Definition

Assembly language is the lowest level of code people still write by hand. Each line is one small order for the processor, like move this number or add these two. A tool called an assembler turns it into machine code almost one for one. Each kind of processor has its own assembly language. It is used where speed or size matters most, like boot code and tiny chips.

## Example

A few lines of x86 assembly put 5 in a register and add 3. A register is a tiny slot inside the processor.

## Example code

```nasm
mov eax, 5
add eax, 3   ; eax now holds 8
```

Two orders: put 5 in a slot, then add 3 to it.

## Why it matters

It shows what a computer really does. Every other language ends up as something like it.

## Common mistake

Expecting code for one chip to run on another. Assembly for an Intel chip will not run on an ARM chip.

## Three principles

- **One order per line.** Each line is one step.
- **Chip specific.** Each processor has its own.
- **Very fast, very long.** Many lines for small tasks.

## Related terms

- [Low-Level Language](https://learn.benibix.com/term/development/low-level-language)
- [Machine Code](https://learn.benibix.com/term/development/machine-code)
- [Compiler](https://learn.benibix.com/term/development/compiler)
- [C](https://learn.benibix.com/term/development/c-language)
- [CPU Architecture](https://learn.benibix.com/term/development/cpu-architecture)

## Taught in

- [Programming Language Basics](https://learn.benibix.com/learn/development-languages/programming-language-basics): Programming Languages, 1/12

![Four labelled shelves of languages. Data science: R, MATLAB and Julia, beside a small bar chart. Functional: Haskell, Scala, Elixir, beside an arrow that turns a list into a new list. Shell and scripting: shell script, PowerShell, Perl and Lua, beside a terminal prompt. Close to the hardware: assembly language and Objective-C, beside a chip and a phone.](https://learn.benibix.com/diagrams/dev4-language-families.svg)

---

Source: https://learn.benibix.com/term/development/assembly-language
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
