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