Template:LSO Bytecodes: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
!class="unsortable"|arg1 size | !class="unsortable"|arg1 size | ||
!class="unsortable"|arg1 Description | !class="unsortable"|arg1 Description | ||
{{!}}- | |||
{{#if:{{{all|}}}<noinclude>*</noinclude>| | {{#if:{{{all|}}}<noinclude>*</noinclude>|<span style="visibility:hidden"></span> | ||
{{!}} NOOP | |||
{{!}} {{LSL Hex|0x00}} | |||
}}{{#if:{{{all|}}}{{{vpop|}}}{{{pop|}}}| | {{!}}- | ||
}}{{#if:{{{all|}}}{{{vpop|}}}{{{pop|}}}|<span style="visibility:hidden"></span> | |||
{{!}} POP | |||
{{!}} {{LSL Hex|0x01}} | |||
{{!}}- | |||
{{!}} POPS | |||
{{!}} {{LSL Hex|0x02}} | |||
{{!}}- | |||
{{!}} POPL | |||
{{!}} {{LSL Hex|0x03}} | |||
{{!}}- | |||
{{!}} POPV | |||
{{!}} {{LSL Hex|0x04}} | |||
}} | {{!}}- | ||
{{ | {{!}} POPQ | ||
{{!}} {{LSL Hex|0x05}} | |||
{{!}}- | |||
{{!}} POPARG | |||
{{!}} {{LSL Hex|0x06}} | |||
{{!}}- | |||
}}{{#if:{{{all|}}}{{{rpop|}}}{{{pop|}}}|<span style="visibility:hidden"></span> | |||
{{!}}POPIP | |||
| | {{!}}{{LSL Hex|0x07}} | ||
}} | {{!}}- | ||
{{ | {{!}} POPBP | ||
{{!}} {{LSL Hex|0x08}} | |||
{{!}}- | |||
{{!}} POPSP | |||
{{!}} {{LSL Hex|0x09}} | |||
{{!}}- | |||
{{!}} POPSLR | |||
{{!}} {{LSL Hex|0x0a}} | |||
{{!}}- | |||
}}{{#if:{{{all|}}}{{{dup|}}}| | |||
{{!}} DUP | |||
{{!}} {{LSL Hex|0x20}} | |||
{{#if:{{{all|}}}{{{ | {{!}}- | ||
{{!}} DUPS | |||
{{!}} {{LSL Hex|0x21}} | |||
{{!}}- | |||
{{!}} DUPL | |||
{{!}} {{LSL Hex|0x22}} | |||
{{!}}- | |||
{{!}} DUPV | |||
{{!}} {{LSL Hex|0x23}} | |||
{{!}}- | |||
{{!}} DUPQ | |||
}} | {{!}} {{LSL Hex|0x24}} | ||
{{#if:{{{all|}}}{{{store|}}}{{{store- | {{!}}- | ||
}}{{#if:{{{all|}}}{{{store|}}}{{{store-local|}}}|<span style="visibility:hidden"></span> | |||
{{!}} STORE | |||
{{!}} {{LSL Hex|0x30}} | |||
{{!}}- | |||
{{!}} STORES | |||
{{!}} {{LSL Hex|0x31}} | |||
{{!}}- | |||
{{!}} STOREL | |||
{{!}} {{LSL Hex|0x32}} | |||
{{!}}- | |||
}} | {{!}} STOREV | ||
{{ | {{!}} {{LSL Hex|0x33}} | ||
{{!}}- | |||
{{!}} STOREQ | |||
|| | {{!}} {{LSL Hex|0x34}} | ||
{{!}}- | |||
}}{{#if:{{{all|}}}{{{store|}}}{{{store-global|}}}|<span style="visibility:hidden"></span> | |||
{{!}} STOREG | |||
{{!}} {{LSL Hex|0x35}} | |||
{{!}}- | |||
{{!}} STOREGS | |||
{{!}} {{LSL Hex|0x36}} | |||
}} | {{!}}- | ||
{{ | {{!}} STOREGL | ||
{{!}} {{LSL Hex|0x37}} | |||
{{!}}- | |||
{{!}} STOREGV | |||
{{!}} {{LSL Hex|0x38}} | |||
{{!}}- | |||
{{!}} STOREGQ | |||
{{!}} {{LSL Hex|0x39}} | |||
{{!}}- | |||
}}{{#if:{{{all|}}}{{{load|}}}{{{load-local|}}}|<span style="visibility:hidden"></span> | |||
{{!}} LOADP | |||
}} | {{!}} {{LSL Hex|0x3a}} | ||
{{ | {{!}}- | ||
{{!}} LOADSP | |||
{{!}} {{LSL Hex|0x3b}} | |||
{{!}}- | |||
{{!}} LOADLP | |||
{{!}} {{LSL Hex|0x3c}} | |||
{{!}}- | |||
{{!}} LOADVP | |||
| | {{!}} {{LSL Hex|0x3d}} | ||
{{!}}- | |||
{{!}} LOADQP | |||
}} | {{!}} {{LSL Hex|0x3e}} | ||
{{ | {{!}}- | ||
}}{{#if:{{{all|}}}{{{load|}}}{{{load-global|}}}|<span style="visibility:hidden"></span> | |||
{{!}} LOADGP | |||
{{!}} {{LSL Hex|0x3f}} | |||
{{!}}- | |||
{{!}} LOADGSP | |||
{{!}} {{LSL Hex|0x40}} | |||
{{!}}- | |||
{{!}} LOADGLP | |||
{{!}} {{LSL Hex|0x41}} | |||
{{!}}- | |||
}} | {{!}} LOADGVP | ||
{{#if:{{{all|}}}{{{push|}}}{{{push- | {{!}} {{LSL Hex|0x42}} | ||
{{!}}- | |||
{{!}} LOADGQP | |||
{{!}} {{LSL Hex|0x43}} | |||
{{!}}- | |||
}}{{#if:{{{all|}}}{{{push|}}}{{{push-local|}}}|<span style="visibility:hidden"></span> | |||
{{!}} PUSH | |||
}} | {{!}} {{LSL Hex|0x50}} | ||
{{ | {{!}}- | ||
{{!}} PUSHS | |||
{{!}} {{LSL Hex|0x51}} | |||
|| | {{!}}- | ||
{{!}} PUSHL | |||
{{!}} {{LSL Hex|0x52}} | |||
{{!}}- | |||
{{!}} PUSHV | |||
{{!}} {{LSL Hex|0x53}} | |||
{{!}}- | |||
{{!}} PUSHQ | |||
{{!}} {{LSL Hex|0x54}} | |||
{{!}}- | |||
}}{{#if:{{{all|}}}{{{push|}}}{{{push-global|}}}|<span style="visibility:hidden"></span> | |||
{{!}} PUSHG | |||
{{!}} {{LSL Hex|0x55}} | |||
{{!}}- | |||
|| | {{!}} PUSHGS | ||
{{!}} {{LSL Hex|0x56}} | |||
{{!}}- | |||
{{!}} PUSHGL | |||
}} | {{!}} {{LSL Hex|0x57}} | ||
{{ | {{!}}- | ||
{{!}} PUSHGV | |||
{{!}} {{LSL Hex|0x58}} | |||
{{!}}- | |||
{{!}} PUSHGQ | |||
{{!}} {{LSL Hex|0x59}} | |||
{{!}}- | |||
}}{{#if:{{{all|}}}{{{push|}}}{{{push-register|}}}|<span style="visibility:hidden"></span> | |||
{{!}} PUSHIP | |||
{{!}} {{LSL Hex|0x5a}} | |||
{{!}}- | |||
{{!}} PUSHBP | |||
{{!}} {{LSL Hex|0x5b}} | |||
{{!}}- | |||
{{!}} PUSHSP | |||
{{!}} {{LSL Hex|0x5c}} | |||
{{!}}- | |||
}}{{#if:{{{all|}}}{{{push|}}}{{{push-list-and-stuff|}}}|<span style="visibility:hidden"></span> | |||
{{!}} PUSHARGB | |||
{{!}} {{LSL Hex|0x5d}} | |||
{{!}}- | |||
{{!}} PUSHARGI | |||
{{!}} {{LSL Hex|0x5e}} | |||
{{!}}- | |||
{{!}} PUSHARGF | |||
{{!}} {{LSL Hex|0x5f}} | |||
{{!}}- | |||
{{!}} PUSHARGS | |||
{{!}} {{LSL Hex|0x60}} | |||
{{!}}- | |||
{{!}} PUSHARGV | |||
{{!}} {{LSL Hex|0x61}} | |||
{{!}}- | |||
| | {{!}} PUSHARGQ | ||
{{!}} {{LSL Hex|0x62}} | |||
{{!}}- | |||
{{!}} PUSHE | |||
{{!}} {{LSL Hex|0x63}} | |||
{{!}}- | |||
}} | {{!}} PUSHEV | ||
{{ | {{!}} {{LSL Hex|0x64}} | ||
{{!}}- | |||
{{!}} PUSHEQ | |||
{{!}} {{LSL Hex|0x65}} | |||
{{!}}- | |||
{{!}} PUSHARGE | |||
{{!}} {{LSL Hex|0x66}} | |||
}} | {{!}}- | ||
{{ | }}{{#if:{{{all|}}}{{{operators|}}}|<span style="visibility:hidden"></span> | ||
{{!}} ADD | |||
{{!}} {{LSL Hex|0x70}} | |||
{{!}}- | |||
{{!}} SUB | |||
{{!}} {{LSL Hex|0x71}} | |||
{{!}}- | |||
}} | {{!}} MUL | ||
{{ | {{!}} {{LSL Hex|0x72}} | ||
{{!}}- | |||
{{!}} DIV | |||
}} | {{!}} {{LSL Hex|0x73}} | ||
{{ | {{!}}- | ||
{{!}} MOD | |||
{{!}} {{LSL Hex|0x74}} | |||
{{!}}- | |||
{{!}} EQ | |||
}} | {{!}} {{LSL Hex|0x75}} | ||
{{ | {{!}}- | ||
{{!}} NEQ | |||
{{!}} {{LSL Hex|0x76}} | |||
}} | {{!}}- | ||
{{ | {{!}} LEQ | ||
{{!}} {{LSL Hex|0x77}} | |||
{{!}}- | |||
{{!}} GEQ | |||
{{!}} {{LSL Hex|0x78}} | |||
}} | {{!}}- | ||
{{ | {{!}} LESS | ||
{{!}} {{LSL Hex|0x79}} | |||
{{!}}- | |||
{{!}} GREATER | |||
{{!}} {{LSL Hex|0x7a}} | |||
{{!}}- | |||
{{!}} BITAND | |||
{{!}} {{LSL Hex|0x7b}} | |||
{{!}}- | |||
{{!}} BITOR | |||
{{!}} {{LSL Hex|0x7c}} | |||
{{!}}- | |||
{{!}} BITXOR | |||
{{!}} {{LSL Hex|0x7d}} | |||
{{!}}- | |||
{{!}} BOOLAND | |||
{{!}} {{LSL Hex|0x7e}} | |||
{{!}}- | |||
{{!}} BOOLOR | |||
{{!}} {{LSL Hex|0x7f}} | |||
{{!}}- | |||
{{!}} NEG | |||
{{!}} {{LSL Hex|0x80}} | |||
{{!}}- | |||
{{!}} BITNOT | |||
{{!}} {{LSL Hex|0x81}} | |||
{{!}}- | |||
{{!}} BOOLNOT | |||
{{!}} {{LSL Hex|0x82}} | |||
{{!}}- | |||
}}{{#if:{{{all|}}}{{{jump|}}}{{{flow|}}}|<span style="visibility:hidden"></span> | |||
{{!}} JUMP | |||
{{!}} {{LSL Hex|0x90}} | |||
{{!}}- | |||
{{!}} JUMPIF | |||
{{!}} {{LSL Hex|0x91}} | |||
{{!}}- | |||
{{!}} JUMPNIF | |||
{{!}} {{LSL Hex|0x92}} | |||
{{!}}- | |||
}}{{#if:{{{all|}}}{{{flow|}}}|<span style="visibility:hidden"></span> | |||
{{!}} STATE | |||
{{!}} {{LSL Hex|0x93}} | |||
{{!}}- | |||
{{!}} CALL | |||
{{!}} {{LSL Hex|0x94}} | |||
{{!}} | |||
{{!}} dword | |||
{{!}} user-function index | |||
{{!}}- | |||
{{!}} RETURN | |||
{{!}} {{LSL Hex|0x95}} | |||
{{!}}- | |||
}}{{#if:{{{all|}}}{{{operators|}}}|<span style="visibility:hidden"></span> | |||
{{!}} CAST | |||
{{!}} {{LSL Hex|0xa0}} | |||
{{!}} | |||
{{!}} byte | |||
{{!}} from-type in 4 high bits, target-type in 4 low bits | |||
{{!}}- | |||
}}{{#if:{{{all|}}}{{{push|}}}| <span style="visibility:hidden"></span> | |||
{{!}} STACKTOS | |||
{{!}} {{LSL Hex|0xb0}} | |||
{{!}}- | |||
{{!}} STACKTOL | |||
{{!}} {{LSL Hex|0xb1}} | |||
{{!}}- | |||
}}{{#if:{{{all|}}}{{{lso-debug|}}}|<span style="visibility:hidden"></span> | |||
{{!}} PRINT | |||
{{!}} {{LSL Hex|0xc0}} | |||
{{!}}- | |||
}}{{#if:{{{all|}}}{{{function|}}}|<span style="visibility:hidden"></span> | |||
{{!}} CALLLIB | |||
{{!}} {{LSL Hex|0xd0}} | |||
{{!}} | |||
{{!}} byte | |||
{{!}} built-in function index | |||
{{!}}- | |||
{{!}} CALLLIB_TWO_BYTE | |||
{{!}} {{LSL Hex|0xd1}} | |||
{{!}} | |||
{{!}} word | |||
{{!}} built-in function index | |||
{{!}}- | |||
}}{{#if:{{{all|}}}{{{operators|}}}|<span style="visibility:hidden"></span> | |||
{{!}} SHL | |||
{{!}} {{LSL Hex|0xe0}} | |||
{{!}}- | |||
{{!}} SHR | |||
{{!}} {{LSL Hex|0xe1}} | |||
{{!}}- | |||
}} | }} | ||
|} | |} | ||
<!--</includeonly><noinclude>{{{{PAGENAME}}|all=*}}</noinclude>--> | <!--</includeonly><noinclude>{{{{PAGENAME}}|all=*}}</noinclude>--> |
Revision as of 03:14, 26 November 2007
Name | Value | Description | arg0 size | arg0 Description | arg1 size | arg1 Description |
---|---|---|---|---|---|---|
NOOP | 0x00 |