Template:LSO Bytecodes: Difference between revisions

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