OpCodeAluRx.cs 532 B

1234567891011121314151617
  1. namespace ARMeilleure.Decoders
  2. {
  3. class OpCodeAluRx : OpCodeAlu, IOpCodeAluRx
  4. {
  5. public int Shift { get; private set; }
  6. public int Rm { get; private set; }
  7. public IntType IntType { get; private set; }
  8. public OpCodeAluRx(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
  9. {
  10. Shift = (opCode >> 10) & 0x7;
  11. IntType = (IntType)((opCode >> 13) & 0x7);
  12. Rm = (opCode >> 16) & 0x1f;
  13. }
  14. }
  15. }