mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2025-06-20 08:18:36 +03:00
more refactoring
This commit is contained in:
@ -37,9 +37,7 @@ public class RetImmHandler : InstructionHandler
|
||||
// Set the mnemonic
|
||||
instruction.Mnemonic = "ret";
|
||||
|
||||
int position = Decoder.GetPosition();
|
||||
|
||||
if (position + 2 > Length)
|
||||
if (!Decoder.CanReadUShort())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user