Template:LSO Bytecodes: Difference between revisions
Jump to navigation
Jump to search
New page: {| class="sortable" {{Prettytable}} |-{{Hl2}} !Name !Value !class="unsortable"|Description !class="unsortable"|arg0 size !class="unsortable"|arg0 Description !class="unsortable"|arg1 size ... |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | |||
{| class="sortable" {{Prettytable}} | {| class="sortable" {{Prettytable}} | ||
|-{{Hl2}} | |-{{Hl2}} | ||
Line 9: | Line 10: | ||
!class="unsortable"|arg1 Description | !class="unsortable"|arg1 Description | ||
|- | |- | ||
{{#if:{{{all|}}}| | |||
||NOOP||{{LSL Hex|0x00}}|| || || || || | ||NOOP||{{LSL Hex|0x00}}|| || || || || | ||
|- | |- | ||
{{#if:{{{all|}}}{{{vpop|}}}{{{pop|}}}| | }}{{#if:{{{all|}}}{{{vpop|}}}{{{pop|}}}| | ||
||POP||{{LSL Hex|0x01}}|| || || || || | ||POP||{{LSL Hex|0x01}}|| || || || || | ||
|- | |- | ||
Line 26: | Line 28: | ||
}} | }} | ||
{{#if:{{{all|}}}{{{rpop|}}}{{{pop|}}}| | {{#if:{{{all|}}}{{{rpop|}}}{{{pop|}}}| | ||
||POPIP||{{LSL Hex|0x07}}|| || || || || | ||POPIP||{{LSL Hex|0x07}}|| || || || || | ||
|- | |- | ||
Line 37: | Line 38: | ||
}} | }} | ||
{{#if:{{{all|}}}{{{dup|}}}| | {{#if:{{{all|}}}{{{dup|}}}| | ||
||DUP||{{LSL Hex|0x20}}|| || || || || | ||DUP||{{LSL Hex|0x20}}|| || || || || | ||
|- | |- | ||
Line 50: | Line 50: | ||
}} | }} | ||
{{#if:{{{all|}}}{{{store|}}}{{{store-local|}}}| | {{#if:{{{all|}}}{{{store|}}}{{{store-local|}}}| | ||
||STORE||{{LSL Hex|0x30}}|| || || || || | ||STORE||{{LSL Hex|0x30}}|| || || || || | ||
|- | |- | ||
Line 63: | Line 62: | ||
}} | }} | ||
{{#if:{{{all|}}}{{{store|}}}{{{store-global|}}}| | {{#if:{{{all|}}}{{{store|}}}{{{store-global|}}}| | ||
||STOREG||{{LSL Hex|0x35}}|| || || || || | ||STOREG||{{LSL Hex|0x35}}|| || || || || | ||
|- | |- | ||
Line 76: | Line 74: | ||
}} | }} | ||
{{#if:{{{all|}}}{{{load|}}}{{{load-local|}}}| | {{#if:{{{all|}}}{{{load|}}}{{{load-local|}}}| | ||
||LOADP||{{LSL Hex|0x3a}}|| || || || || | ||LOADP||{{LSL Hex|0x3a}}|| || || || || | ||
|- | |- | ||
Line 89: | Line 86: | ||
}} | }} | ||
{{#if:{{{all|}}}{{{load|}}}{{{load-global|}}}| | {{#if:{{{all|}}}{{{load|}}}{{{load-global|}}}| | ||
||LOADGP||{{LSL Hex|0x3f}}|| || || || || | ||LOADGP||{{LSL Hex|0x3f}}|| || || || || | ||
|- | |- | ||
Line 102: | Line 98: | ||
}} | }} | ||
{{#if:{{{all|}}}{{{push|}}}{{{push-local|}}}| | {{#if:{{{all|}}}{{{push|}}}{{{push-local|}}}| | ||
||PUSH||{{LSL Hex|0x50}}|| || || || || | ||PUSH||{{LSL Hex|0x50}}|| || || || || | ||
|- | |- | ||
Line 115: | Line 110: | ||
}} | }} | ||
{{#if:{{{all|}}}{{{push|}}}{{{push-global|}}}| | {{#if:{{{all|}}}{{{push|}}}{{{push-global|}}}| | ||
||PUSHG||{{LSL Hex|0x55}}|| || || || || | ||PUSHG||{{LSL Hex|0x55}}|| || || || || | ||
|- | |- | ||
Line 128: | Line 122: | ||
}} | }} | ||
{{#if:{{{all|}}}{{{push|}}}{{{push-register|}}}| | {{#if:{{{all|}}}{{{push|}}}{{{push-register|}}}| | ||
||PUSHIP||{{LSL Hex|0x5a}}|| || || || || | ||PUSHIP||{{LSL Hex|0x5a}}|| || || || || | ||
|- | |- | ||
Line 137: | Line 130: | ||
}} | }} | ||
{{#if:{{{all|}}}{{{push|}}}{{{push-list-and-stuff|}}}| | {{#if:{{{all|}}}{{{push|}}}{{{push-list-and-stuff|}}}| | ||
||PUSHARGB||{{LSL Hex|0x5d}}|| || || || || | ||PUSHARGB||{{LSL Hex|0x5d}}|| || || || || | ||
|- | |- | ||
Line 160: | Line 152: | ||
}} | }} | ||
{{#if:{{{all|}}}{{{operators|}}}| | {{#if:{{{all|}}}{{{operators|}}}| | ||
||ADD||{{LSL Hex|0x70}}|| || || || || | ||ADD||{{LSL Hex|0x70}}|| || || || || | ||
|- | |- | ||
Line 201: | Line 192: | ||
}} | }} | ||
{{#if:{{{all|}}}{{{jump|}}}{{{flow|}}}| | {{#if:{{{all|}}}{{{jump|}}}{{{flow|}}}| | ||
||JUMP||{{LSL Hex|0x90}}|| || || || || | ||JUMP||{{LSL Hex|0x90}}|| || || || || | ||
|- | |- | ||
Line 210: | Line 200: | ||
}} | }} | ||
{{#if:{{{all|}}}{{{flow|}}}| | {{#if:{{{all|}}}{{{flow|}}}| | ||
||STATE||{{LSL Hex|0x93}}|| || || || || | ||STATE||{{LSL Hex|0x93}}|| || || || || | ||
|- | |- | ||
Line 219: | Line 208: | ||
}} | }} | ||
{{#if:{{{all|}}}{{{operators|}}}| | {{#if:{{{all|}}}{{{operators|}}}| | ||
||CAST||{{LSL Hex|0xa0}}|| || byte || from-type in 4 high bits, target-type in 4 low bits || || | ||CAST||{{LSL Hex|0xa0}}|| || byte || from-type in 4 high bits, target-type in 4 low bits || || | ||
|- | |- | ||
}} | }} | ||
{{#if:{{{all|}}}{{{push|}}}| | {{#if:{{{all|}}}{{{push|}}}| | ||
||STACKTOS||{{LSL Hex|0xb0}}|| || || || || | ||STACKTOS||{{LSL Hex|0xb0}}|| || || || || | ||
|- | |- | ||
Line 231: | Line 218: | ||
}} | }} | ||
{{#if:{{{all|}}}{{{lso-debug|}}}| | {{#if:{{{all|}}}{{{lso-debug|}}}| | ||
||PRINT||{{LSL Hex|0xc0}}|| || || || || | ||PRINT||{{LSL Hex|0xc0}}|| || || || || | ||
|- | |- | ||
}} | }} | ||
{{#if:{{{all|}}}{{{function|}}}| | {{#if:{{{all|}}}{{{function|}}}| | ||
||CALLLIB||{{LSL Hex|0xd0}}|| || byte || built-in function index || || | ||CALLLIB||{{LSL Hex|0xd0}}|| || byte || built-in function index || || | ||
|- | |- | ||
Line 243: | Line 228: | ||
}} | }} | ||
{{#if:{{{all|}}}{{{operators|}}}| | {{#if:{{{all|}}}{{{operators|}}}| | ||
||SHL||{{LSL Hex|0xe0}}|| || || || || | ||SHL||{{LSL Hex|0xe0}}|| || || || || | ||
|- | |- | ||
Line 250: | Line 234: | ||
}} | }} | ||
|} | |} | ||
</includeonly><noinclude>{{{{PAGENAME}}|all=*}}</noinclude> |
Revision as of 03:00, 26 November 2007
Name | Value | Description | arg0 size | arg0 Description | arg1 size | arg1 Description |
---|