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 = Invalid
+
| #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>
−
| {{#sub|{{{1}}}|1|6}}
+
| {{{1}}}
! <abbr title="Number of raw parameter words">Param</abbr>
! <abbr title="Number of raw parameter words">Param</abbr>
| {{{2}}}
| {{{2}}}