2016-09-18 21:24:54 +00:00
|
|
|
# Simple terminals
|
|
|
|
ICONST
|
|
|
|
REG
|
|
|
|
LABEL
|
|
|
|
BLOCK
|
2016-09-19 21:06:59 +00:00
|
|
|
PAIR
|
2016-09-18 21:24:54 +00:00
|
|
|
ANY
|
|
|
|
PHI
|
|
|
|
|
2016-09-19 21:06:59 +00:00
|
|
|
# Magic stack operations
|
|
|
|
PUSH
|
|
|
|
POP
|
|
|
|
|
2016-09-18 21:24:54 +00:00
|
|
|
# Memory operations
|
|
|
|
LOAD
|
|
|
|
STORE
|
|
|
|
|
|
|
|
# Arithemetic operations
|
|
|
|
ADD
|
2016-09-19 21:06:59 +00:00
|
|
|
SUB
|
|
|
|
MUL
|
|
|
|
DIV
|
|
|
|
MOD
|
|
|
|
NEG
|
|
|
|
NOT
|
2016-09-18 21:24:54 +00:00
|
|
|
|
|
|
|
# Conversions
|
|
|
|
FROMI1
|
|
|
|
FROMI2
|
|
|
|
FROMI4
|
|
|
|
FROMI8
|
|
|
|
|
2016-09-19 21:06:59 +00:00
|
|
|
FROMU1
|
|
|
|
FROMU2
|
|
|
|
FROMU4
|
|
|
|
FROMU8
|
|
|
|
|
|
|
|
# Tristate comparisons
|
2016-09-18 21:24:54 +00:00
|
|
|
COMPARES
|
|
|
|
COMPAREU
|
|
|
|
|
2016-09-19 21:06:59 +00:00
|
|
|
# Boolean comparisons
|
|
|
|
IFEQ
|
|
|
|
IFLT
|
|
|
|
IFLE
|
|
|
|
|
2016-09-18 21:24:54 +00:00
|
|
|
# Flow control
|
2016-09-19 21:06:59 +00:00
|
|
|
CALL
|
2016-09-18 21:24:54 +00:00
|
|
|
JUMP
|
|
|
|
CJUMP
|
|
|
|
RET
|
|
|
|
|
|
|
|
# Special
|
|
|
|
SETREG
|
2016-09-19 21:06:59 +00:00
|
|
|
GETREG
|
2016-09-18 21:24:54 +00:00
|
|
|
|