diff options
Diffstat (limited to 'ChocolArm64/Decoder/AOpCodeSimdMemImm.cs')
| -rw-r--r-- | ChocolArm64/Decoder/AOpCodeSimdMemImm.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ChocolArm64/Decoder/AOpCodeSimdMemImm.cs b/ChocolArm64/Decoder/AOpCodeSimdMemImm.cs new file mode 100644 index 00000000..1ef19a5d --- /dev/null +++ b/ChocolArm64/Decoder/AOpCodeSimdMemImm.cs @@ -0,0 +1,19 @@ +using ChocolArm64.Instruction; + +namespace ChocolArm64.Decoder +{ + class AOpCodeSimdMemImm : AOpCodeMemImm, IAOpCodeSimd + { + public AOpCodeSimdMemImm(AInst Inst, long Position, int OpCode) : base(Inst, Position, OpCode) + { + Size |= (OpCode >> 21) & 4; + + if (!WBack && !Unscaled && Size >= 4) + { + Imm <<= 4; + } + + Extend64 = false; + } + } +}
\ No newline at end of file |
