Template: Opcode

From SpecNext official Wiki
Jump to: navigation, search
(trying something to get queries functional, without actually understanding what I am doing... :/)
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
<noinclude>
 +
{{#cargo_declare:
 +
_table = Opcode
 +
|cleandesc = Searchtext
 +
|status = String (size=1;allowed values=S,U,E)
 +
|isZ80Instruction = Boolean
 +
|admode1 = String
 +
|admode2 = String
 +
|ceffect = String (size=1)
 +
|neffect = String (size=1)
 +
|pveffect = String (size=1)
 +
|heffect = String (size=1)
 +
|zeffect = String (size=1)
 +
|seffect = String (size=1)
 +
|shortfx = String
 +
|tstates = String
 +
}}
 +
</noinclude>
 +
<includeonly>
 
{{#subobject:{{{opdesc}}}
 
{{#subobject:{{{opdesc}}}
  |cleandesc={{{opdesc}}}
+
  |cleandesc={{{opdesc|}}}
 +
|status={{{status|}}}
 +
|isZ80Instruction=y
 +
|admode1={{{ad1|}}}
 +
|admode2={{{ad2|}}}
 +
|ceffect={{{c|}}}
 +
|neffect={{{n|}}}
 +
|pveffect={{{pv|}}}
 +
|heffect={{{h|}}}
 +
|zeffect={{{z|}}}
 +
|seffect={{{s|}}}
 +
|shortfx={{{shortfx|}}}
 +
|tstates={{{tstates|}}}
 +
}}
 +
{{#cargo_store:
 +
_table = Opcode
 +
|cleandesc={{{opdesc|}}}
 +
|status={{{status|}}}
 
  |isZ80Instruction=y
 
  |isZ80Instruction=y
  |admode1={{{ad1}}}
+
  |admode1={{{ad1|}}}
  |admode2={{{ad2}}}
+
  |admode2={{{ad2|}}}
  |ceffect={{{c}}}
+
  |ceffect={{{c|}}}
  |neffect={{{n}}}
+
  |neffect={{{n|}}}
  |pveffect={{{pv}}}
+
  |pveffect={{{pv|}}}
  |heffect={{{h}}}
+
  |heffect={{{h|}}}
  |zeffect={{{z}}}
+
  |zeffect={{{z|}}}
  |seffect={{{s}}}
+
  |seffect={{{s|}}}
  |tstates={{{tstates}}}
+
|shortfx={{{shortfx|}}}
 +
  |tstates={{{tstates|}}}
 
}}
 
}}
 +
|{{{opdesc}}}||{{{ad1}}}||{{{ad2}}}||{{{status}}}||{{{c}}}||{{{n}}}||{{{pv}}}||{{{h}}}||{{{z}}}||{{{s}}}||{{{tstates}}}||{{{shortfx}}}
 +
|-
 +
</includeonly>

Latest revision as of 19:59, 6 July 2019

This template defines the table "Opcode". This table has not been created yet.