Extended VM and fp compiler, now an actually good hello world program
This commit is contained in:
parent
6098f88cc5
commit
fda7baea7f
4 changed files with 116 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue