diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-05-26 17:49:21 -0300 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-05-26 17:50:47 -0300 |
| commit | 9670c096e410add36314a247b77334c0c1d61256 (patch) | |
| tree | dc66ff6966b5544ee78e45b571c187225f96c35d /ChocolArm64/Decoder32/A32OpCode.cs | |
| parent | cb1cf489f96b09872f8a9db41226c6f5d1654575 (diff) | |
Initial work to support AArch32 with a interpreter, plus nvmm stubs (not used for now)
Diffstat (limited to 'ChocolArm64/Decoder32/A32OpCode.cs')
| -rw-r--r-- | ChocolArm64/Decoder32/A32OpCode.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ChocolArm64/Decoder32/A32OpCode.cs b/ChocolArm64/Decoder32/A32OpCode.cs new file mode 100644 index 00000000..56f870df --- /dev/null +++ b/ChocolArm64/Decoder32/A32OpCode.cs @@ -0,0 +1,15 @@ +using ChocolArm64.Decoder; +using ChocolArm64.Instruction; + +namespace ChocolArm64.Decoder32 +{ + class A32OpCode : AOpCode + { + public ACond Cond { get; private set; } + + public A32OpCode(AInst Inst, long Position, int OpCode) : base(Inst, Position, OpCode) + { + Cond = (ACond)((uint)OpCode >> 28); + } + } +}
\ No newline at end of file |
