Update the test input file to contain all AST nodes
All checks were successful
Validate the build / validate-build (push) Successful in 36s

This commit is contained in:
omicron 2025-04-02 11:19:35 +02:00
parent 5ea942024f
commit 0d3881f680

View File

@ -1,5 +1,17 @@
.section text
; Small valid code snippet that should contain all different AST nodes
_start: _start:
mov eax, 555 ; move 555 into eax mov eax, ebx
lea eax, [eax + ebx * 4 + 8]
lea eax, [eax + 8]
lea eax, [eax + ebx * 8]
lea eax, [esp - 24]
lea eax, [eax + ebx * 4 - 8]
lea eax, [_start]
mov eax, _start
mov eax, 555
push 0o777 push 0o777
xor eax, 0xDEADBEEF xor eax, 0xDEADBEEF
and ecx, 0o770 and ecx, 0o770