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