mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2025-12-11 04:51:21 +04:00
fixes and removed unused code
This commit is contained in:
@@ -56,8 +56,8 @@ public class ScaledIndexMemoryOperand : MemoryOperand
|
||||
|
||||
if (Displacement != 0)
|
||||
{
|
||||
string sign = Displacement > 0 ? "+" : "";
|
||||
dispPart = $"{sign}0x{Math.Abs(Displacement):X}";
|
||||
string sign = Displacement > 0 ? "+" : "-";
|
||||
dispPart = $"{sign}0x{Math.Abs(Displacement):X2}";
|
||||
}
|
||||
|
||||
return $"{GetSizePrefix()}[{baseRegPart}{indexPart}{dispPart}]";
|
||||
|
||||
Reference in New Issue
Block a user