aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/Decoders/OpCodeAluBinary.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ARMeilleure/Decoders/OpCodeAluBinary.cs')
-rw-r--r--ARMeilleure/Decoders/OpCodeAluBinary.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/ARMeilleure/Decoders/OpCodeAluBinary.cs b/ARMeilleure/Decoders/OpCodeAluBinary.cs
new file mode 100644
index 00000000..2bdf1d79
--- /dev/null
+++ b/ARMeilleure/Decoders/OpCodeAluBinary.cs
@@ -0,0 +1,12 @@
+namespace ARMeilleure.Decoders
+{
+ class OpCodeAluBinary : OpCodeAlu
+ {
+ public int Rm { get; private set; }
+
+ public OpCodeAluBinary(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
+ {
+ Rm = (opCode >> 16) & 0x1f;
+ }
+ }
+} \ No newline at end of file