Only throw undefined instruction exception at execution, not at translation stage
This commit is contained in:
parent
9f612682e0
commit
55743c0cba
28 changed files with 94 additions and 43 deletions
|
@ -6,7 +6,7 @@ namespace ChocolArm64.Decoder
|
|||
{
|
||||
public int Id { get; private set; }
|
||||
|
||||
public AOpCodeException(AInst Inst, long Position, int OpCode) : base(Inst, Position)
|
||||
public AOpCodeException(AInst Inst, long Position, int OpCode) : base(Inst, Position, OpCode)
|
||||
{
|
||||
Id = (OpCode >> 5) & 0xffff;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue