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