diff options
Diffstat (limited to 'ChocolArm64/Decoder/AOpCodeSimdShImm.cs')
| -rw-r--r-- | ChocolArm64/Decoder/AOpCodeSimdShImm.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ChocolArm64/Decoder/AOpCodeSimdShImm.cs b/ChocolArm64/Decoder/AOpCodeSimdShImm.cs new file mode 100644 index 00000000..6c839881 --- /dev/null +++ b/ChocolArm64/Decoder/AOpCodeSimdShImm.cs @@ -0,0 +1,16 @@ +using ChocolArm64.Instruction; + +namespace ChocolArm64.Decoder +{ + class AOpCodeSimdShImm : AOpCodeSimd + { + public int Imm { get; private set; } + + public AOpCodeSimdShImm(AInst Inst, long Position, int OpCode) : base(Inst, Position, OpCode) + { + Imm = (OpCode >> 16) & 0x7f; + + Size = ABitUtils.HighestBitSet32(Imm >> 3); + } + } +}
\ No newline at end of file |
