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