Extended VM and fp compiler, now an actually good hello world program

This commit is contained in:
cannoli-fruit 2026-07-25 18:36:08 -04:00
commit fda7baea7f
4 changed files with 116 additions and 3 deletions

View file

@ -284,6 +284,11 @@ macro Cmp64 A, B
db B
end macro
macro Not64 reg
db 0x41
db reg
end macro
macro RSetF reg
db 0x42
db reg
@ -319,6 +324,16 @@ macro JmpIP addr
JmpRIP 127
end macro
macro JmpRIE addr
db 0xC8
db addr
end macro
macro JmpIE addr
MovI64 127, addr
JmpRIE 127
end macro
macro CallR addr
db 0x46
db addr