public static Instruction LdInd(R16Type target, R8Type source) { return(new Instruction(Opcode.Ld, "(" + target.ToString() + "), " + source.ToString())); }
public static Instruction Ld(R16Type target, string label) { return(new Instruction(Opcode.Ld, target.ToString() + ", " + label)); }
public static Instruction Sbc(R16Type target, R16Type source) { return(new Instruction(Opcode.Sbc, target.ToString() + ", " + source.ToString())); }
public void Ld(R16Type target, string label) { AddInstruction(new Instruction(Opcode.Ld, target.ToString() + ", " + label)); }
public void Sbc(R16Type target, R16Type source) { AddInstruction(new Instruction(Opcode.Sbc, target.ToString() + ", " + source.ToString())); }
public void LdInd(R16Type target, R8Type source) { AddInstruction(new Instruction(Opcode.Ld, "(" + target.ToString() + "), " + source.ToString())); }