Difference between revisions of "Template:Provisional opcode"

From Maths
Jump to: navigation, search
m
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><code>[[RealQ{{{1|UNKNOWN}}}:{{{2|UNKNOWN}}} (Provisional)|{{{2|UNKNOWN}}}}]]{{#if:{{{3|}}}|<nowiki> </nowiki>{{{3|}}}|}}</code></includeonly><noinclude>
+
<includeonly><span style="white-space:nowrap"><code>[[RealQ{{{1|UNKNOWN}}}:{{{2|UNKNOWN}}} (Provisional)|{{{2|UNKNOWN}}}]]{{#if:{{{3|}}}|<nowiki> </nowiki>{{{3|}}}|}}</code></span></includeonly><noinclude>
 
==Purpose==
 
==Purpose==
 
This template is for use with the RealQ project and is to help with creating links to provisional opcodes.
 
This template is for use with the RealQ project and is to help with creating links to provisional opcodes.

Latest revision as of 22:29, 12 February 2016

Purpose

This template is for use with the RealQ project and is to help with creating links to provisional opcodes. For creating links to final opcodes, see template:Opcode.

Use

Typing

  • {{Provisional opcode|A|B}}

will create a link:

  • [[RealQA:B (Provisional)|B]] - in code tags.

A realistic use of this might be:

  • {{Provisional opcode|16s|NOP}} which generates the following:
  • NOP - a link to the NOP provisional instruction of the RealQ16s architecture

3rd argument

If you use:

  • {{Provisional opcode|16s|MOV|r1,r2}}

This will generate: