OpCodeMem.cs 536 B

1234567891011121314151617
  1. namespace ARMeilleure.Decoders
  2. {
  3. class OpCodeMem : OpCode
  4. {
  5. public int Rt { get; protected set; }
  6. public int Rn { get; protected set; }
  7. public int Size { get; protected set; }
  8. public bool Extend64 { get; protected set; }
  9. public OpCodeMem(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
  10. {
  11. Rt = (opCode >> 0) & 0x1f;
  12. Rn = (opCode >> 5) & 0x1f;
  13. Size = (opCode >> 30) & 0x3;
  14. }
  15. }
  16. }