AOpCodeSimdMemImm.cs 435 B

12345678910111213141516171819
  1. using ChocolArm64.Instruction;
  2. namespace ChocolArm64.Decoder
  3. {
  4. class AOpCodeSimdMemImm : AOpCodeMemImm, IAOpCodeSimd
  5. {
  6. public AOpCodeSimdMemImm(AInst Inst, long Position, int OpCode) : base(Inst, Position, OpCode)
  7. {
  8. Size |= (OpCode >> 21) & 4;
  9. if (!WBack && !Unscaled && Size >= 4)
  10. {
  11. Imm <<= 4;
  12. }
  13. Extend64 = false;
  14. }
  15. }
  16. }