[Zlib-devel] ASM problem under Visual Studio 2005

Cosmin Truta cosmin at cs.toronto.edu
Fri Apr 28 14:21:23 EDT 2006


Hi,

I received the following message a few days ago. I tried to understand
what's wrong with the current code, but I couldn't. Would the ASM gurus
please have a look at it?

Best regards,
Cosmin


---------- Forwarded message ----------
Date: Sat, 15 Apr 2006 02:25:05 -0400
From: Tim Van Wassenhove
To: Cosmin Truta
Subject: Compiling zlib with Visual Studio 2005

Hello,

Yesterday i tried to compile zlib-1.2.3 with Visual Studio 2005 (the
zlib project)
The compiler complained about a couple of "invalid syntax" errors.
I've searched the web, and discovered an articel on MSDN KB that
explained what was going on.

I've editted contrib/masmx86/inffas32.asm in order to make it work.

line 647: 	movd mm4,dword ptr[esp+0]
line 649:	movd mm5,dword ptr[esp+4]
line 663:	movd mm7,dword ptr[esi]
line 720:	movd mm7,dword ptr[esi]

I couldn't find this anywhere in the documentation so i thought this
might be useful information.


--
Don't applaud, throw money (paypal: timvw at users.sourceforge.net)
Website @ http://timvw.madoka.be




More information about the Zlib-devel mailing list