mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2026-08-15 15:07:48 +04:00
Fix x86 disassembler issues with direct memory addressing and immediate value formatting
This commit is contained in:
@@ -229,7 +229,7 @@ public class TestInstructionHandlerTests
|
||||
var ediOperand = instruction.StructuredOperands[0];
|
||||
Assert.IsType<RegisterOperand>(ediOperand);
|
||||
var registerOperand = (RegisterOperand)ediOperand;
|
||||
Assert.Equal(RegisterIndex.D, registerOperand.Register);
|
||||
Assert.Equal(RegisterIndex.Di, registerOperand.Register);
|
||||
Assert.Equal(32, registerOperand.Size); // Validate that it's a 32-bit register (EDI)
|
||||
|
||||
// Check the second operand (immediate value)
|
||||
|
||||
Reference in New Issue
Block a user