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