Changes

Jump to navigation Jump to search
no edit summary
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:looppow|12}}{{#while:
 +
| {{#ifexpr: {{#var:looppow}} >= 0 | true }}
 +
| {{#switch: {{#expr:trunc({{#var:headerlow}}/(2^{{#var:looppow}})) mod 16}}
 +
| 0 = 0
 +
| 1 = 1
 +
| 2 = 2
 +
| 3 = 3
 +
| 4 = 4
 +
| 5 = 5
 +
| 6 = 6
 +
| 7 = 7
 +
| 8 = 8
 +
| 9 = 9
 +
| 10 = A
 +
| 11 = B
 +
| 12 = C
 +
| 13 = D
 +
| 14 = E
 +
| 15 = F
 +
| #default = Invalid
 +
}}{{#vardefine:looppow|{{#expr:{{#var:looppow}}-4}}}}
 +
}}]
 
   {| class="wikitable" border="1" style="margin:0 0 0.4em 0"
 
   {| class="wikitable" border="1" style="margin:0 0 0.4em 0"
 
   |-
 
   |-
Line 7: Line 30:  
   | {{#sub|{{{1}}}|1|6}}
 
   | {{#sub|{{{1}}}|1|6}}
 
   ! <abbr title="Number of raw parameter words">Param</abbr>
 
   ! <abbr title="Number of raw parameter words">Param</abbr>
   | TODO
+
   | {{{2}}}
 
   ! <abbr title="Number of words in the translate section of the message">Xlat</abbr>
 
   ! <abbr title="Number of words in the translate section of the message">Xlat</abbr>
   | TODO
+
   | {{{3}}}
 
   |}
 
   |}
157

edits

Navigation menu