diff options
Diffstat (limited to 'ChocolArm64/Decoder/AOpCodeSimdFcond.cs')
| -rw-r--r-- | ChocolArm64/Decoder/AOpCodeSimdFcond.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ChocolArm64/Decoder/AOpCodeSimdFcond.cs b/ChocolArm64/Decoder/AOpCodeSimdFcond.cs new file mode 100644 index 00000000..e38e7424 --- /dev/null +++ b/ChocolArm64/Decoder/AOpCodeSimdFcond.cs @@ -0,0 +1,17 @@ +using ChocolArm64.Instruction; + +namespace ChocolArm64.Decoder +{ + class AOpCodeSimdFcond : AOpCodeSimdReg, IAOpCodeCond + { + public int NZCV { get; private set; } + + public ACond Cond { get; private set; } + + public AOpCodeSimdFcond(AInst Inst, long Position, int OpCode) : base(Inst, Position, OpCode) + { + NZCV = (OpCode >> 0) & 0xf; + Cond = (ACond)((OpCode >> 12) & 0xf); + } + } +}
\ No newline at end of file |
