Difference between revisions of "Template:Provisional opcode"

From Maths
Jump to: navigation, search
(Created page with "<includeonly><code>[[RealQ{{{1|UNKNOWN}}}:{{{2|UNKNOWN}} (Provisional)|{{{2|UNKNOWN}}}]]{{#if:{{{3|}}}|<nowiki> </nowiki>{{{3|}}}|}}</code></includeonly><noinclude> ==Purpose=...")
 
m
Line 1: Line 1:
<includeonly><code>[[RealQ{{{1|UNKNOWN}}}:{{{2|UNKNOWN}} (Provisional)|{{{2|UNKNOWN}}}]]{{#if:{{{3|}}}|<nowiki> </nowiki>{{{3|}}}|}}</code></includeonly><noinclude>
+
<includeonly><code>[[RealQ{{{1|UNKNOWN}}}:{{{2|UNKNOWN}}} (Provisional)|{{{2|UNKNOWN}}}}]]{{#if:{{{3|}}}|<nowiki> </nowiki>{{{3|}}}|}}</code></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.

Revision as of 19:33, 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: