0
mirror of https://github.com/sampletext32/ParkanPlayground.git synced 2025-06-20 08:18:36 +03:00

new handlers and test fixes

This commit is contained in:
bird_egop
2025-04-16 20:54:08 +03:00
parent f654f64c71
commit 800915b534
20 changed files with 342 additions and 117 deletions

View File

@ -69,6 +69,7 @@ public class SIBDecoder
{
if (_decoder.CanReadUInt())
{
// For other instructions, read the 32-bit displacement
uint disp32 = _decoder.ReadUInt32();
int scaleValue = 1 << scale; // 1, 2, 4, or 8
@ -83,7 +84,7 @@ public class SIBDecoder
return OperandFactory.CreateScaledIndexMemoryOperand(
index,
scaleValue,
null,
null, // No base register
(int)disp32,
operandSize);
}