Atozed Forums
[dcc32 Error] smmFunctions.pas(337): E2107 Operand size mismatch - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: [dcc32 Error] smmFunctions.pas(337): E2107 Operand size mismatch (/thread-4153.html)



[dcc32 Error] smmFunctions.pas(337): E2107 Operand size mismatch - Mikael Nilsson - 05-16-2024

Hi 

I installed IW  15.6.1
And again I get [dcc32 Error] smmFunctions.pas(337): E2107 Operand size mismatch.
why is this not corrected.

Anyone know how to correct the error?

function BitScanLast(aValue: NativeInt): NativeUInt;
asm
{$IFDEF CPU386}
  BSR AX, aValue;                                        <================= incorrect
{$ELSE} .NOFRAME
  BSR RAX, aValue;
{$ENDIF}
end;