Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[dcc32 Error] smmFunctions.pas(337): E2107 Operand size mismatch
#1
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;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)