-
Notifications
You must be signed in to change notification settings - Fork 0
OpCodes
duangsuse edited this page Jan 6, 2018
·
11 revisions
MinVM is a register-based High Level Language VM
| OpCode Name | StyleB | StyleC |
|---|---|---|
| loadObject | ||
| loadObjectBx | ||
| loadInt | ||
| loadIntBx | ||
| loadShort | ||
| loadShortBx | ||
| loadLong | ||
| loadLongBx | ||
| loadDouble | ||
| loadDoubleBx | ||
| loadByte | ||
| loadByteBx | ||
| loadFloat | ||
| loadFloatBx | ||
| loadTrue | ||
| loadTrueBx | ||
| loadFalse | ||
| loadFalseBx | ||
| loadChar | ||
| loadCharBx | ||
| loadNull |
| OpCode Name | StyleB | StyleC |
|---|---|---|
| arrayNew | ||
| arrayForType | ||
| arrayRange | ||
| arrayGet | ||
| arrayPut | ||
| arraySize | ||
| arrayLen |
| OpCode Name | StyleB | StyleC |
|---|---|---|
| newObject | ||
| protNewObject |
| OpCode Name | StyleB | StyleC |
|---|---|---|
| getStdin | ||
| putStdout | ||
| putStderr | ||
| toString |
| OpCode Name | StyleB | StyleC |
|---|---|---|
| scope | ||
| scopeKeep | ||
| scopeEnd |
| OpCode Name | StyleB | StyleC |
|---|---|---|
| trace | ||
| userDef | ||
| userDefAx |
| OpCode Name | StyleB | StyleC |
|---|---|---|
| invoke | ||
| proc | ||
| procBx | ||
| yield | ||
| yieldBx | ||
| yieldAsync | ||
| yiedlAsyncBx | ||
| callback |
| OpCode Name | StyleB | StyleC |
|---|---|---|
| call | ||
| rescueCall | ||
| callAx | ||
| rescueCallAx | ||
| staticCall | ||
| rescueStaticCall | ||
| implement | ||
| accessTo |
| OpCode Name | StyleB | StyleC |
|---|---|---|
| get | ||
| getMeta | ||
| getError | ||
| getResult | ||
| getClass | ||
| getMethod | ||
| getField | ||
| getStatic |
| OpCode Name | StyleB | StyleC |
|---|---|---|
| put | ||
| putMeta | ||
| putField | ||
| putStatic |
| OpCode Name | StyleB | StyleC |
|---|---|---|
| del | ||
| delError | ||
| delResult |
| OpCode Name | StyleB | StyleC |
|---|---|---|
| raise | ||
| raiseIf | ||
| raiseIfNot | ||
| jump | ||
| jumpIf | ||
| jumpIfNot | ||
| jumpIfError | ||
| goto | ||
| gotoIf | ||
| gotoIfNot | ||
| gotoIfError | ||
| return | ||
| returnIf | ||
| returnNull | ||
| returnInt | ||
| leave | ||
| nop | ||
| hereBreak | ||
| hereContinue | ||
| sleep |
| OpCode Name | StyleB | StyleC |
|---|---|---|
| calcAdd | ||
| calcSub | ||
| calcMul | ||
| calcDiv | ||
| calcPwr | ||
| calcRem | ||
| calcNeg | ||
| calcAnd | ||
| calcOr | ||
| calcNot | ||
| calcXor | ||
| calcBitAnd | ||
| calcBitOr | ||
| calcBitNot | ||
| calcBitXor | ||
| calcShl | ||
| calcShr |
| OpCode Name | StyleB | StyleC |
|---|---|---|
| opConvert | ||
| opWarn | ||
| opInc | ||
| opIsNll | ||
| opIsNonNull | ||
| opInstanceOf | ||
| opEq | ||
| opRefEq | ||
| opEqZero | ||
| opNotEq | ||
| opNotEqZero | ||
| opGt | ||
| opGtZero | ||
| opLt | ||
| opLtZero | ||
| opGe | ||
| opGeZero | ||
| opLe | ||
| opLeZero |
| OpCode Name | StyleB | StyleC |
|---|---|---|
| stackPush | ||
| stackPushInt | ||
| stackPop | ||
| stackDup | ||
| stackSize | ||
| stackLen | ||
| stackLenOp |
| OpCode Name | StyleB | StyleC |
|---|---|---|
| swap | ||
| putB | ||
| putA | ||
| getB |
| OpCode Name | StyleB | StyleC |
|---|---|---|
| tableNew | ||
| tableNewType | ||
| tableNewTypeType | ||
| tableStrIdxNew | ||
| tableStrIdx | ||
| tableGet | ||
| tableGetObj | ||
| tablePut | ||
| tableDel | ||
| tableHasKey | ||
| tableHasVal | ||
| tableFind | ||
| tableLen |
| OpCode Name | StyleB | StyleC |
|---|---|---|
| stringNew | ||
| stringInclude | ||
| stringGet | ||
| stringCat | ||
| stringPut | ||
| stringGsub | ||
| stringGlob | ||
| stringStartsWith | ||
| stringEndsWith | ||
| stringLen |
| OpCode Name | StyleB | StyleC |
|---|---|---|
| listNew | ||
| listNewType | ||
| listGet | ||
| listPut | ||
| listDel | ||
| listLen |