compiler/test.asm
2026-06-18 06:43:36 -07:00

9 lines
147 B
NASM

BITS 32
GLOBAL _main
SECTION .data
SECTION .bss
SECTION .text
_main:
mov eax, 42
;; The result in eax is the exit code, just return.
ret