まだ書いてない NeosVRで@thotgammaに聞いてください
| category | number | mnemonic | args | push/pop | description |
|---|---|---|---|---|---|
| Basic | 0 | DUMMY | no | none | 使わない |
| 1 | PUSH | yes | 1push | 引数の値をスタックにプッシュする | |
| 2 | POP | no | 1pop | スタックから1つ値をpopする(値は捨てる) | |
| 3 | JUMP | ||||
| 4 | JIF0 | ||||
| 5 | FRAME | ||||
| 6 | POPR | ||||
| 7 | CALL | ||||
| 8 | RET | ||||
| 9 | PULP | ||||
| 10 | PUAP | ||||
| 11 | DUP | ||||
| 12 | |||||
| 13 | |||||
| 14 | EXIT | pop1(int status) | EXIT | ||
| 15 | |||||
| メモリ系 | 16 | LOADG | |||
| 17 | LOADL | ||||
| 18 | LOADA | ||||
| 19 | LOADR | ||||
| 20 | LOADP | ||||
| 21 | LOADD | 0: int, 1: float, 2: string | |||
| 22 | |||||
| 23 | |||||
| 24 | |||||
| 25 | STOREL | ||||
| 26 | STOREA | ||||
| 27 | STORER | ||||
| 28 | STOREP | ||||
| 29 | STORED | 0: int, 1: float, 2: string | |||
| 30 | |||||
| 31 | |||||
| Math系 | 32 | SIN | |||
| 33 | COS | ||||
| 34 | TAN | ||||
| 35 | ASIN | ||||
| 36 | ACOS | ||||
| 37 | ATAN | ||||
| 38 | ATAN2 | ||||
| 39 | ROOT | ||||
| 40 | POW | ||||
| 41 | LOG | ||||
| 42 | RAND | pop2(float min, float max) push1(float rand) | generate random value | ||
| 43 | |||||
| 44 | |||||
| 45 | |||||
| 46 | |||||
| 47 | |||||
| 単項演算 | 48 | INV | ! | ||
| 49 | INC | ||||
| 50 | DEC | ||||
| 51 | |||||
| 52 | |||||
| 53 | |||||
| 54 | |||||
| 55 | |||||
| 56 | ITOF | ||||
| 57 | FTOI | ||||
| 58 | |||||
| 59 | |||||
| 60 | |||||
| 61 | |||||
| 62 | |||||
| 63 | |||||
| 2項演算 | 64 | ADDI | int + | ||
| 65 | SUBI | int - | |||
| 66 | MULI | int * | |||
| 67 | DIVI | int / | |||
| 68 | MODI | int % | |||
| 69 | ADDF | float + | |||
| 70 | SUBF | float - | |||
| 71 | MULF | float * | |||
| 72 | DIVF | float / | |||
| 73 | MODF | float % | |||
| 74 | AND | & | |||
| 75 | OR | | | |||
| 76 | XOR | ^ | |||
| 77 | LSHI | ||||
| 78 | RSHI | ||||
| 79 | |||||
| BOOL | 80 | EQI | |||
| 81 | NEQI | ||||
| 82 | LTI | ||||
| 83 | LTEI | ||||
| 84 | GTI | ||||
| 85 | GTEI | ||||
| 86 | |||||
| 87 | |||||
| 88 | EQF | ||||
| 89 | NEQF | ||||
| 90 | LTF | ||||
| 91 | LTEF | ||||
| 92 | GTF | ||||
| 93 | GTEF | ||||
| 94 | |||||
| 95 | |||||
| STRING | 96 | SLEN | |||
| 97 | STOI | ||||
| 98 | STOF | ||||
| 99 | SSN | Set Slot Name | |||
| 100 | SST | Set Slot Tag | |||
| 101 | FRMT | popn(uint* template, uint* dest, ARGS...) | Format | ||
| 102 | |||||
| 103 | SCMP | ||||
| 104 | ITOS | ||||
| 105 | FTOS | ||||
| 106 | GSN | Get Slot Name | |||
| 107 | GST | Get Slot Tag | |||
| 108 | |||||
| 109 | SCPY | pop2(int* to, int* from) | |||
| 110 | MCMP | pop3(int* memA, int* memB, int length) | |||
| 111 | MCPY | pop3(int* to, int* from, int length) | |||
| Slot系 | 112 | GSPO | 0: Local, 1: Global | pop1(int slot), push3(float x, float y, float z) | Set Position |
| 113 | GSRO | 0: Local, 1: Global | pop1(int slot), push3(float x, float y, float z) | Set Rotation | |
| 114 | GSSC | 0: Local, 1: Global | pop1(int slot), push3(float x, float y, float z) | Set Scale | |
| 115 | GSSS | 0: Active, 1: Persistent, 2: Offset | pop1(int slot), push1(int return) | Get Single Slot Status | |
| 116 | SSPO | 0: Local, 1: Global | pop4(int slot, float x, float y, float z) | Set Global Position | |
| 117 | SSRO | 0: Local, 1: Global | pop4(int slot, float x, float y, float z) | Set Global Rotation | |
| 118 | SSSC | 0: Local, 1: Global | pop4(int slot, float x, float y, float z) | Set Global Scale | |
| 119 | SSSS | 0: Active, 1: Persistent, 2: Offset | pop2(int slot, int value) | Set Single Slot Status | |
| 120 | CSFT | pop1(int* template_name), push(int slot) | CreateSlotFromTemplate | ||
| 121 | FCFS | 0: fromName, 1: fromTag | pop1(int* name) push1(int slot) | Find Child From Name | |
| 122 | ADIT | pop2(int slot, int* name) | Async Dynamic Impulse Trigger | ||
| 123 | SSPA | pop2(int slot, int new_slot) | SetSlotParent | ||
| 124 | SLUS | 0: get slot parent, 1: duplicate slot, 2: get slot children | pop1(int slot) push1(int slot/count) | Slot Utility | |
| 125 | GSLC | pop1(int slot, int index) push1(int slot) | Get Slot Children | ||
| 126 | |||||
| 127 | DESS | pop1(int slot) | DestroySlot |