← All Languages

Assembly Language

Close to the Metal

First appeared: 1947Designed by: Kathleen Booth

A low-level symbolic language that maps directly to machine code instructions for a specific CPU architecture.

Links

Paradigm

Procedural

Hello, World

section .data
  msg db 'Hello, World!', 0xA

section .text
  global _start

_start:
  mov rax, 1
  mov rdi, 1
  mov rsi, msg
  mov rdx, 14
  syscall

  mov rax, 60
  xor rdi, rdi
  syscall

About

Invented by Kathleen Booth in 1947 and refined in the 1950s as a more readable alternative to machine code. Modern assemblers target x86, ARM, RISC-V.

Type system: Static

Ecosystem

Learning Resources

NASM Tutorial