diff options
Diffstat (limited to 'ChocolArm64/Decoders/OpCodeCsel64.cs')
| -rw-r--r-- | ChocolArm64/Decoders/OpCodeCsel64.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ChocolArm64/Decoders/OpCodeCsel64.cs b/ChocolArm64/Decoders/OpCodeCsel64.cs new file mode 100644 index 00000000..d085a823 --- /dev/null +++ b/ChocolArm64/Decoders/OpCodeCsel64.cs @@ -0,0 +1,17 @@ +using ChocolArm64.Instructions; + +namespace ChocolArm64.Decoders +{ + class OpCodeCsel64 : OpCodeAlu64, IOpCodeCond64 + { + public int Rm { get; private set; } + + public Cond Cond { get; private set; } + + public OpCodeCsel64(Inst inst, long position, int opCode) : base(inst, position, opCode) + { + Rm = (opCode >> 16) & 0x1f; + Cond = (Cond)((opCode >> 12) & 0xf); + } + } +}
\ No newline at end of file |
