Add .import and .export to the input test file
All checks were successful
Validate the build / validate-build (push) Successful in 41s
All checks were successful
Validate the build / validate-build (push) Successful in 41s
This commit is contained in:
parent
9549951fe1
commit
b38b5d220a
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user