aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/Decoders/OpCodeSystem.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ARMeilleure/Decoders/OpCodeSystem.cs')
-rw-r--r--ARMeilleure/Decoders/OpCodeSystem.cs14
1 files changed, 8 insertions, 6 deletions
diff --git a/ARMeilleure/Decoders/OpCodeSystem.cs b/ARMeilleure/Decoders/OpCodeSystem.cs
index cf7c5cc1..4d79421a 100644
--- a/ARMeilleure/Decoders/OpCodeSystem.cs
+++ b/ARMeilleure/Decoders/OpCodeSystem.cs
@@ -2,12 +2,14 @@ namespace ARMeilleure.Decoders
{
class OpCodeSystem : OpCode
{
- public int Rt { get; private set; }
- public int Op2 { get; private set; }
- public int CRm { get; private set; }
- public int CRn { get; private set; }
- public int Op1 { get; private set; }
- public int Op0 { get; private set; }
+ public int Rt { get; }
+ public int Op2 { get; }
+ public int CRm { get; }
+ public int CRn { get; }
+ public int Op1 { get; }
+ public int Op0 { get; }
+
+ public new static OpCode Create(InstDescriptor inst, ulong address, int opCode) => new OpCodeSystem(inst, address, opCode);
public OpCodeSystem(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
{