Template: Opcode

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

Latest revision as of 20:59, 6 July 2019

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