Difference between revisions of "Template:Instruction"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
|style="text-align: center;" colspan="3" |''{{{op_desc}}}'' | |style="text-align: center;" colspan="3" |''{{{op_desc}}}'' | ||
|} | |} | ||
+ | <noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
− | "description": "Instruction template", | + | "description": "Instruction template", |
− | "params": { | + | "params": { |
− | + | "op_name": { | |
− | + | "label": "Instruction name", | |
− | + | "type": "string", | |
− | + | "required": true | |
− | + | }, | |
− | + | "op_size": { | |
− | + | "label": "Instruction size", | |
− | + | "type": "number", | |
− | + | "required": true | |
− | + | }, | |
− | + | "op_args": { | |
− | + | "label": "Number of arguments", | |
− | + | "type": "number", | |
− | + | "required": true | |
− | + | }, | |
− | + | "op_code": { | |
− | + | "label": "Instruction value", | |
− | + | "type": "number", | |
− | + | "required": true | |
− | + | }, | |
− | + | "op_desc": { | |
− | + | "label": "Short description", | |
− | + | "type": "string" | |
− | + | } | |
− | + | } | |
} | } | ||
</templatedata> | </templatedata> | ||
+ | </noinclude> |
Revision as of 15:50, 16 July 2019
{{{op_name}}} | size: | {{{op_size}}} |
args: | {{{op_args}}} | |
opcode: {{{op_code}}} | ||
{{{op_desc}}} |
Instruction template
Parameter | Description | Type | Status | |
---|---|---|---|---|
Instruction name | op_name | no description | String | required |
Instruction size | op_size | no description | Number | required |
Number of arguments | op_args | no description | Number | required |
Instruction value | op_code | no description | Number | required |
Short description | op_desc | no description | String | optional |