mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2025-06-20 00:18:02 +03: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