Add support for global functions

This commit is contained in:
nub31
2025-05-05 16:27:11 +02:00
parent 1f42a3f82d
commit f77fdb86f3
7 changed files with 44 additions and 5 deletions

View File

@@ -1,8 +1,9 @@
global _start
extern main
extern main, gc_init
section .text
_start:
call gc_init
call main
mov rax, 60
mov rdi, 0