Skip to content

OpCodes

duangsuse edited this page Jan 4, 2018 · 11 revisions

MinVM Supported Operations

OpCode Desc
load-obj
load-objb
load-int
load-intb
load-short
load-true
load-false
load-char
new-array
range
new-obj
rescue-call
call
static-call
ax-call
gets
get-m
get-err
get-result
find-class
find-method
find-field
index
move-index
move
move-field
access-to
remove
remove-err
raise
raise-if
leave
jump
goto
goto-if
goto-ifnot
goto-iferr
ret
ret-void
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
gets-b
new-tbl
tbl-add
tbl-idx
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-starts-withq
str-ends-withq
str-len
list-new
list-idx
list-move
list-remove
list-len
scope
alive
ends
trace
userdef
ax-userdef
nop
brk
cont

Clone this wiki locally