Add .import and .export to the input test file
This commit is contained in:
parent
8c0e9926c5
commit
ef22c0b620
@ -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