Program Structure
Every program must define an entry point—the location where program execution begins.
In RASM, the entry point is a label named _start or main.
The simplest possible program looks like this:
main:
mov rax, 60
xor rdi, rdi
syscall
A program typically consists of one or more sections. The most commonly used sections are:
.text— executable code;.data— initialized data;.bss— uninitialized data.
Each section contains a specific type of code or data.