TInstruction Enumeration
Identifies a single virtual machine op-code in the compiled p-code instruction set.
Remarks
Each TInstruction value corresponds to one operation the virtual machine can execute.
The op-code is stored in TSimplifiedCode.OpCode.
Syntax
Unit: atScript
Members
| Name | Value | Description |
|---|---|---|
| inPrepare | 0 | |
| inPushInteger | 1 | |
| inPushDouble | 2 | |
| inPushString | 3 | |
| inPushConst | 4 | |
| inPushOutput | 5 | |
| inPushClass | 6 | |
| inDuplicate | 7 | |
| inDuplicate2 | 8 | |
| inDrop | 9 | |
| inSwap2 | 10 | |
| inOperNE | 11 | |
| inOperGE | 12 | |
| inOperLE | 13 | |
| inOperEqual | 14 | |
| inOperGreater | 15 | |
| inOperLess | 16 | |
| inOperAdd | 17 | |
| inOperConcat | 18 | |
| inOperSub | 19 | |
| inOperOr | 20 | |
| inOperXor | 21 | |
| inOperMul | 22 | |
| inOperSlash | 23 | |
| inOperDiv | 24 | |
| inOperMod | 25 | |
| inOperAnd | 26 | |
| inOperShl | 27 | |
| inOperShr | 28 | |
| inOperExp | 29 | |
| inOperIs | 30 | |
| inOperNeg | 31 | |
| inOperNot | 32 | |
| inJumpIfFalse | 33 | |
| inJumpIfTrue | 34 | |
| inJump | 35 | |
| inStoreVar | 36 | |
| inStoreVarRef | 37 | |
| inStoreIdxVar | 38 | |
| inStoreIdxVarRef | 39 | |
| inStoreVarInteger | 40 | |
| inStoreVarRefInteger | 41 | |
| inStoreVarDouble | 42 | |
| inStoreVarRefDouble | 43 | |
| inStoreVarString | 44 | |
| inStoreVarRefString | 45 | |
| inStoreVarConst | 46 | |
| inStoreVarRefConst | 47 | |
| inCopyVar | 48 | |
| inCopyVarRef | 49 | |
| inStoreInput | 50 | |
| inPushVar | 51 | |
| inPushIdxVar | 52 | |
| inPushVarByRef | 53 | |
| inVarTest | 54 | |
| inVarTestInteger | 55 | |
| inVarTestDouble | 56 | |
| inVarTestString | 57 | |
| inVarTestVar | 58 | |
| inStoreGlobalVar | 59 | |
| inStoreGlobalIdxVar | 60 | |
| inPushGlobalVar | 61 | |
| inPushGlobalIdxVar | 62 | |
| inPushGlobalVarByRef | 63 | |
| inCall | 64 | |
| inRet | 65 | |
| inExecFun | 66 | |
| inCallProc | 67 | |
| inTryFinally | 68 | |
| inTryExcept | 69 | |
| inCallClassProc | 70 | |
| inBreakPoint | 71 | |
| inAbort | 72 | |
| inArrayOf | 73 | |
| inCastClass | 74 | |
| inWithObject | 75 | |
| inGlobalPrepare | 76 | |
| inTestIfFalse | 77 | |
| inTestIfTrue | 78 | |
| inSaveStackValue | 79 | |
| inLoadStackValue | 80 | |
| inInitArray | 81 | |
| inCopyGlobalVar | 82 |