mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2025-12-12 09:51:21 +04:00
new handlers and test fixes
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user