OpCodeSimdReg64.cs 522 B

123456789101112131415161718
  1. using ChocolArm64.Instructions;
  2. namespace ChocolArm64.Decoders
  3. {
  4. class OpCodeSimdReg64 : OpCodeSimd64
  5. {
  6. public bool Bit3 { get; private set; }
  7. public int Ra { get; private set; }
  8. public int Rm { get; protected set; }
  9. public OpCodeSimdReg64(Inst inst, long position, int opCode) : base(inst, position, opCode)
  10. {
  11. Bit3 = ((opCode >> 3) & 0x1) != 0;
  12. Ra = (opCode >> 10) & 0x1f;
  13. Rm = (opCode >> 16) & 0x1f;
  14. }
  15. }
  16. }