Re: Inline assembler syntax error in Delphi 2006



When I migrated Delphi 5 code to Delphi 2006,the below piece of code
throws an error
xor eax, DWORD [cCRC32Table][EBX*4] // Result:=eax xor Table[ebx]
Error E2105 : Inline assembler syntax error

Solution already posted in language.delphi.win32:

xor eax, dword ptr [cCRC32Table + ebx * 4]

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


Quantcast