Esempio n. 1
0
 public static Instruction LdInd(R16Type target, R8Type source)
 {
     return(new Instruction(Opcode.Ld, "(" + target.ToString() + "), " + source.ToString()));
 }
Esempio n. 2
0
 public static Instruction Ld(R16Type target, string label)
 {
     return(new Instruction(Opcode.Ld, target.ToString() + ", " + label));
 }
Esempio n. 3
0
 public static Instruction Sbc(R16Type target, R16Type source)
 {
     return(new Instruction(Opcode.Sbc, target.ToString() + ", " + source.ToString()));
 }
Esempio n. 4
0
 public void Ld(R16Type target, string label)
 {
     AddInstruction(new Instruction(Opcode.Ld, target.ToString() + ", " + label));
 }
Esempio n. 5
0
 public void Sbc(R16Type target, R16Type source)
 {
     AddInstruction(new Instruction(Opcode.Sbc, target.ToString() + ", " + source.ToString()));
 }
Esempio n. 6
0
 public void LdInd(R16Type target, R8Type source)
 {
     AddInstruction(new Instruction(Opcode.Ld, "(" + target.ToString() + "), " + source.ToString()));
 }