Difference between revisions of "Template:Instruction"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
− | "description": " | + | "description": "Instruction template", |
"params": { | "params": { | ||
"op_name": { | "op_name": { | ||
"label": "Instruction name", | "label": "Instruction name", | ||
"type": "string", | "type": "string", | ||
− | |||
− | |||
− | |||
− | |||
− | |||
"required": true | "required": true | ||
}, | }, | ||
Line 32: | Line 27: | ||
"op_args": { | "op_args": { | ||
"label": "Number of arguments", | "label": "Number of arguments", | ||
+ | "type": "number", | ||
+ | "required": true | ||
+ | }, | ||
+ | "op_code": { | ||
+ | "label": "Instruction value", | ||
"type": "number", | "type": "number", | ||
"required": true | "required": true | ||
Line 37: | Line 37: | ||
"op_desc": { | "op_desc": { | ||
"label": "Short description", | "label": "Short description", | ||
− | "type": "string" | + | "type": "string" |
− | |||
} | } | ||
} | } | ||
} | } | ||
</templatedata> | </templatedata> |
Revision as of 15:43, 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 |