public void Emit(Format8OpCode opCode, LowRegister rsd, LowRegister rb, LowRegister ro) { var fluentComment=opCode.ToHumanReadable().MyConcat(" ", rsd, ",[", rb, ",", ro, "]"); EmitHelper(rsd, 7, fluentComment, 5, 4, (int)opCode, 2, 1, 1, ro.Index, 3, rb.Index, 3, rsd.Index, 3); }
public void Emit(Format8OpCode opCode, LowRegister rsd, LowRegister rb, LowRegister ro) { var fluentComment = opCode.ToHumanReadable().MyConcat(" ", rsd, ",[", rb, ",", ro, "]"); EmitHelper(rsd, 7, fluentComment, 5, 4, (int)opCode, 2, 1, 1, ro.Index, 3, rb.Index, 3, rsd.Index, 3); }
public static string ToHumanReadable(this Format8OpCode opCode) { return("STRHLDSBLDRHLDSH".Substring((int)opCode * 4, 4)); }