Difference between revisions of "Template:Instruction"
Jump to navigation
Jump to search
m |
|||
Line 19: | Line 19: | ||
"label": "Instruction name", | "label": "Instruction name", | ||
"type": "string", | "type": "string", | ||
− | "required": true | + | "required": true, |
+ | "aliases": [ | ||
+ | "1" | ||
+ | ] | ||
}, | }, | ||
"op_size": { | "op_size": { | ||
"label": "Instruction size", | "label": "Instruction size", | ||
"type": "number", | "type": "number", | ||
− | "required": true | + | "required": true, |
+ | "aliases": [ | ||
+ | "3" | ||
+ | ] | ||
}, | }, | ||
"op_args": { | "op_args": { | ||
"label": "Number of arguments", | "label": "Number of arguments", | ||
"type": "number", | "type": "number", | ||
− | "required": true | + | "required": true, |
+ | "aliases": [ | ||
+ | "4" | ||
+ | ] | ||
}, | }, | ||
"op_code": { | "op_code": { | ||
− | "label": "Instruction | + | "label": "Instruction code", |
"type": "number", | "type": "number", | ||
− | "required": true | + | "required": true, |
+ | "aliases": [ | ||
+ | "2" | ||
+ | ] | ||
}, | }, | ||
"op_desc": { | "op_desc": { | ||
"label": "Short description", | "label": "Short description", | ||
− | "type": "string" | + | "type": "string", |
+ | "aliases": [ | ||
+ | "5" | ||
+ | ] | ||
} | } | ||
− | } | + | }, |
+ | "paramOrder": [ | ||
+ | "op_name", | ||
+ | "op_code", | ||
+ | "op_size", | ||
+ | "op_args", | ||
+ | "op_desc" | ||
+ | ], | ||
+ | "format": "inline" | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 18:39, 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 1 | no description | String | required |
Instruction code | op_code 2 | no description | Number | required |
Instruction size | op_size 3 | no description | Number | required |
Number of arguments | op_args 4 | no description | Number | required |
Short description | op_desc 5 | no description | String | optional |