This repository has been archived on 2025-10-23. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nub-lang-archive/src/CLI/Runtime/entry.s
nub31 8800d0429f ...
2025-06-14 19:00:45 +02:00

16 lines
240 B
ArmAsm

.intel_syntax noprefix
.extern main
.section .text
.global _start
_start:
mov rdi, rsp
sub rsp, 8
mov [rsp], rdi
mov rdi, rsp
# func main(args: []^string): i64
call main
mov rdi, rax
mov rax, 60
syscall