diff options
Diffstat (limited to 'ChocolArm64/Decoders/OpCodeSimdMemImm64.cs')
| -rw-r--r-- | ChocolArm64/Decoders/OpCodeSimdMemImm64.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ChocolArm64/Decoders/OpCodeSimdMemImm64.cs b/ChocolArm64/Decoders/OpCodeSimdMemImm64.cs new file mode 100644 index 00000000..9fbab567 --- /dev/null +++ b/ChocolArm64/Decoders/OpCodeSimdMemImm64.cs @@ -0,0 +1,19 @@ +using ChocolArm64.Instructions; + +namespace ChocolArm64.Decoders +{ + class OpCodeSimdMemImm64 : OpCodeMemImm64, IOpCodeSimd64 + { + public OpCodeSimdMemImm64(Inst 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 |
