mirror of
https://git.sfja.dk/Mikkel/slige.git
synced 2025-01-18 18:16:31 +00:00
add arch
This commit is contained in:
parent
e8366e0230
commit
be71bab97e
34
architecture.txt
Normal file
34
architecture.txt
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Mnemonic Arg Arg description
|
||||||
|
----------------------------------------
|
||||||
|
Nop
|
||||||
|
PushNull
|
||||||
|
PushInt int initial value
|
||||||
|
PushString string initial value
|
||||||
|
PushArray
|
||||||
|
PushStruct
|
||||||
|
PushPtr ptr pointer value
|
||||||
|
Pop
|
||||||
|
LoadLocal int stack position
|
||||||
|
StoreLocal int stack position
|
||||||
|
Call
|
||||||
|
Return
|
||||||
|
Jump
|
||||||
|
JumpIfNotZero
|
||||||
|
Add
|
||||||
|
Subtract
|
||||||
|
Multiply
|
||||||
|
Divide
|
||||||
|
Remainder
|
||||||
|
Equal
|
||||||
|
LessThan
|
||||||
|
And
|
||||||
|
Or
|
||||||
|
Xor
|
||||||
|
Not
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user