02-13-2024, 01:01 PM
Hi,
I have read the article "Capacity of IntraWeb Applications and Memory Managers". It was very interesting.
So I decided to use ScaleMM2 instead of FastMM4.
But when I compiled my applicaction I got a compile error in unit smmFunctions in function BitScanLast(aValue: NativeInt): NativeUInt;
{$IFDEF CPU386}
BSR AX, aValue;
{$ELSE} .NOFRAME
BSR RAX, aValue;
{$ENDIF}
[dcc32 Error] smmFunctions.pas(337): E2107 Operand size mismatch on statement BSR AX, aValue;
I have read the article "Capacity of IntraWeb Applications and Memory Managers". It was very interesting.
So I decided to use ScaleMM2 instead of FastMM4.
But when I compiled my applicaction I got a compile error in unit smmFunctions in function BitScanLast(aValue: NativeInt): NativeUInt;
{$IFDEF CPU386}
BSR AX, aValue;
{$ELSE} .NOFRAME
BSR RAX, aValue;
{$ENDIF}
[dcc32 Error] smmFunctions.pas(337): E2107 Operand size mismatch on statement BSR AX, aValue;