Difference between revisions of "Template:IPC/RequestHeader/sandbox"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
|- | |- | ||
| {{#var:ipc_offset}}{{#vardefine:ipc_offset|{{#expr: {{#var:ipc_offset}} + 1}}}} | | {{#var:ipc_offset}}{{#vardefine:ipc_offset|{{#expr: {{#var:ipc_offset}} + 1}}}} | ||
− | | Header code [{{{1}}} | + | | Header code [{{{1}}}{{ |
− | {{#vardefine:headerlow|{{#expr:{{{3}}}+({{{2}}}*64)}}}} | + | #vardefine:headerlow|{{#expr:{{{3}}}+({{{2}}}*64)}}}}{{ |
− | {{#vardefine:looppow|12}}{{#while: | + | #vardefine:looppow|12}}{{#while: |
| {{#ifexpr: {{#var:looppow}} >= 0 | true }} | | {{#ifexpr: {{#var:looppow}} >= 0 | true }} | ||
| {{#switch: {{#expr:trunc({{#var:headerlow}}/(2^{{#var:looppow}})) mod 16}} | | {{#switch: {{#expr:trunc({{#var:headerlow}}/(2^{{#var:looppow}})) mod 16}} | ||
Line 22: | Line 22: | ||
| 14 = E | | 14 = E | ||
| 15 = F | | 15 = F | ||
− | | #default = | + | | #default = ? |
}}{{#vardefine:looppow|{{#expr:{{#var:looppow}}-4}}}} | }}{{#vardefine:looppow|{{#expr:{{#var:looppow}}-4}}}} | ||
}}] | }}] | ||
Line 28: | Line 28: | ||
|- | |- | ||
! <abbr title="Command ID">Cmd</abbr> | ! <abbr title="Command ID">Cmd</abbr> | ||
− | + | | {{{1}}} | |
! <abbr title="Number of raw parameter words">Param</abbr> | ! <abbr title="Number of raw parameter words">Param</abbr> | ||
| {{{2}}} | | {{{2}}} |
Latest revision as of 00:06, 17 September 2024
|- | | Header code [{{{1}}}????]
Cmd | {{{1}}} | Param | {{{2}}} | Xlat | {{{3}}} |
---|