Initial encoding implementation #19

Merged
omicron merged 14 commits from encoding_start into main 2025-04-16 22:16:32 +00:00
Showing only changes of commit ef22c0b620 - Show all commits

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