implement parsing #3

Merged
omicron merged 15 commits from parser_start into main 2025-04-02 19:53:48 +00:00
Showing only changes of commit 0d3881f680 - Show all commits

View File

@ -1,5 +1,17 @@
.section text
; Small valid code snippet that should contain all different AST nodes
_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
xor eax, 0xDEADBEEF
and ecx, 0o770