public void Emit(Format11OpCode opCode, LowRegister rd, uint unsigned10BitOffset) { CheckRange((int)unsigned10BitOffset, 0, 1023, 3); var fluentComment = opCode.ToHumanReadable().MyConcat(" ", rd, ",[SP,#", unsigned10BitOffset, "]"); var offsetBits = (unsigned10BitOffset >> 2) & 0xff; EmitHelper(rd, 11, fluentComment, 9, 4, (int)opCode, 1, rd.Index, 3, (int)offsetBits, 8); }
public void Emit(Format11OpCode opCode, LowRegister rd, uint unsigned10BitOffset) { CheckRange((int)unsigned10BitOffset, 0, 1023, 3); var fluentComment=opCode.ToHumanReadable().MyConcat(" ", rd, ",[SP,#", unsigned10BitOffset, "]"); var offsetBits=(unsigned10BitOffset>>2)&0xff; EmitHelper(rd, 11, fluentComment, 9, 4, (int)opCode, 1, rd.Index, 3, (int)offsetBits, 8); }