mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2025-06-20 08:18:36 +03:00
nice big refactor
This commit is contained in:
@ -42,12 +42,8 @@ public class OrEaxImmHandler : InstructionHandler
|
||||
}
|
||||
|
||||
// Read the immediate dword (little-endian)
|
||||
byte b0 = CodeBuffer[position++];
|
||||
byte b1 = CodeBuffer[position++];
|
||||
byte b2 = CodeBuffer[position++];
|
||||
byte b3 = CodeBuffer[position++];
|
||||
uint imm32 = (uint)(b0 | (b1 << 8) | (b2 << 16) | (b3 << 24));
|
||||
Decoder.SetPosition(position);
|
||||
|
||||
uint imm32 = Decoder.ReadUInt32();
|
||||
|
||||
// Set the mnemonic
|
||||
instruction.Mnemonic = "or";
|
||||
|
Reference in New Issue
Block a user