Atozed Forums

Full Version: [dcc32 Error] smmFunctions.pas(337): E2107 Operand size mismatch
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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;