[CPU] Fix CBZ/CBNZ with 32 bits operands
This commit is contained in:
parent
137eb89fad
commit
c3a48b8f5c
1 changed files with 5 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
using ChocolArm64.Instruction;
|
using ChocolArm64.Instruction;
|
||||||
|
using ChocolArm64.State;
|
||||||
|
|
||||||
namespace ChocolArm64.Decoder
|
namespace ChocolArm64.Decoder
|
||||||
{
|
{
|
||||||
|
@ -11,6 +12,10 @@ namespace ChocolArm64.Decoder
|
||||||
Rt = OpCode & 0x1f;
|
Rt = OpCode & 0x1f;
|
||||||
|
|
||||||
Imm = Position + ADecoderHelper.DecodeImmS19_2(OpCode);
|
Imm = Position + ADecoderHelper.DecodeImmS19_2(OpCode);
|
||||||
|
|
||||||
|
RegisterSize = (OpCode >> 31) != 0
|
||||||
|
? ARegisterSize.Int64
|
||||||
|
: ARegisterSize.Int32;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue