diff options
Diffstat (limited to 'ChocolArm64/Decoders/OpCodeSimdReg64.cs')
| -rw-r--r-- | ChocolArm64/Decoders/OpCodeSimdReg64.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ChocolArm64/Decoders/OpCodeSimdReg64.cs b/ChocolArm64/Decoders/OpCodeSimdReg64.cs new file mode 100644 index 00000000..4bf462de --- /dev/null +++ b/ChocolArm64/Decoders/OpCodeSimdReg64.cs @@ -0,0 +1,18 @@ +using ChocolArm64.Instructions; + +namespace ChocolArm64.Decoders +{ + class OpCodeSimdReg64 : OpCodeSimd64 + { + public bool Bit3 { get; private set; } + public int Ra { get; private set; } + public int Rm { get; protected set; } + + public OpCodeSimdReg64(Inst inst, long position, int opCode) : base(inst, position, opCode) + { + Bit3 = ((opCode >> 3) & 0x1) != 0; + Ra = (opCode >> 10) & 0x1f; + Rm = (opCode >> 16) & 0x1f; + } + } +}
\ No newline at end of file |
