Add .import and .export to the input test file
All checks were successful
Validate the build / validate-build (push) Successful in 41s

This commit is contained in:
omicron 2025-04-07 10:52:49 +02:00
parent 9549951fe1
commit b38b5d220a

View File

@ -2,6 +2,9 @@
; Small valid code snippet that should contain all different AST nodes ; Small valid code snippet that should contain all different AST nodes
.export _start
.import exit
_start: _start:
mov eax, ebx mov eax, ebx
lea eax, [eax + ebx * 4 + 8] lea eax, [eax + ebx * 4 + 8]
@ -19,3 +22,5 @@ _start:
push 0xffff:64 push 0xffff:64
push 0o777:16 push 0o777:16
push 0b0001:16 push 0b0001:16
mov rax, 0
call exit