Assembly language is a low-level programming language that communicates directly with a computerβs hardware. Unlike high-level languages like Python, C#, or Java, Assembly provides fine-grained control over the CPU and memory β perfect for operating system kernels, embedded systems, or situations where you need raw speed and direct hardware access.
Each Assembly instruction corresponds directly to a machine code operation that the processor executes. It's highly specific to each CPU architecture (like x86, ARM, or MIPS). Programmers often write Assembly when high performance is critical or when working on system-level projects like BIOS firmware, bootloaders, or device drivers.
section .data
: Holds variables and static data.section .text
: Contains executable code.mov
: Moves data between registers and memory.int 0x80
: Triggers a software interrupt to the Linux kernel (syscall in older Linux systems).