Skip to content

OpCodes

duangsuse edited this page Jan 5, 2018 · 11 revisions

MinVM Supported Operations

OpCode Desc
load-obj
load-objb
load-int
load-intb
load-short
load-shortb
load-true
load-trueb
load-false
load-falseb
load-char
load-charb
new-array
range
new-obj
pnew-obj
load-nil
rescue-call
call
static-call
rstatic-call
ax-call
rax-call
gets
get-m
get-err
get-result
find-class
find-method
find-field
find-static
index
move-index
move
move-static
move-field
access-to
del
del-err
warn
raise
raise-if
leave
jump
jump-if
jump-ifnot
jump-iferr
goto
goto-if
goto-ifnot
goto-iferr
ret
retnil
sleep
puts
impl
proc
yield
yield-async
calc-add
calc-sub
calc-div
calc-pwr
calc-rem
calc-neg
calc-and
calc-or
calc-not
calc-xor
op-band
op-bor
op-bnot
op-bxor
op-shl
op-shr
len
op-nullQ
op-is-aQ
op-eq
op-eqz
op-ne
op-nez
op-gt
op-gtz
op-lt
op-ltz
op-ge
op-gez
op-le
op-lez
push
pop
swap
move-b
move-a
get-b
new-tbl
new-tblsidx
tbl-add
tbl-idx
tbl-idxobj
tbl-move
tbl-del
tbl-haskeyQ
tbl-hasvalQ
tbl-find
tbl-len
new-str
str-includeQ
str-idx
str-cat
str-move
str-gsub
str-glob
str-starts-withQ
str-ends-withQ
str-len
list-new
list-idx
list-move
list-del
list-len
tostring
scope
alive
stk-len
ends
trace
userdef
ax-userdef
nop
brk
cont

Clone this wiki locally