Re: Inline assembler syntax error in Delphi 2006



{$ifndef Dynamic_CRC_Table}
xor eax, DWORD [cCRC32Table][EBX*4] // Result:=eax xor
Table[ebx] {$else}
xor eax, DWORD [ESI][EBX*4] // Result:=eax xor Table[ebx]
{$endif}

This is pretty clear; it should be

{$ifndef Dynamic_CRC_Table}
xor eax, DWORD [cCRC32Table + EBX*4]
{$else}
xor eax, DWORD [ESI + EBX*4]
{$endif}

The case without '*4' does not appear here.

--
The Fastcode Project: http://www.fastcodeproject.org/
.