Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Comments

Comments are used to document source code. They are ignored by the assembler and do not affect the generated output.

RASM supports single-line comments beginning with the ; character.

Example:

; Program entry point
_start:
    mov rax, 60      ; exit system call
    xor rdi, rdi     ; return code
    syscall