mirror of
https://github.com/samsonjs/compiler.git
synced 2026-06-24 04:49:09 +00:00
9 lines
147 B
NASM
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
|