Back to the Vavoom Forum Archives


Forum

[Fixed] Assembly Compiler Error

Sun, 14 Jul 2002 04:05:04

JinnaiGuy

Assembling ..\..\source\d_edgea.s...<br>e:/djgpp/tmp/ccVOU471.s: Assembler messages:<br>e:/djgpp/tmp/ccVOU471.s:734: Error: operands given don't match any known 386 instruction<br>e:/djgpp/tmp/ccVOU471.s:793: Error: operands given don't match any known 386 instruction<br><br><br>I can manually comment lines 524 and 583 of "d_edgea.s", or change the instruction from "fsub" to "fsubs", but of course either method destroys the functionality of the software renderer!  (But the OpenGL and Direct3D modes will work perfectly)<br><br>My best guess is I'm not using the same version/distro of the GCC compiler as you, so may I inquire which version you use (2.95, 3.1, etc), and from what does it come (DJGPP, Cygwin, etc?)
Mon, 15 Jul 2002 17:00:17

Janis Legzdinsh

Of course there shold be fsubs so change those lines.<br><br>I'm using DJGPP 2.03 with gcc 2.95.2 and GNU assembler 2.9.5.
Sat, 10 Aug 2002 16:54:33

roy5050

You need to compile gas2asm first:<br><br>bcc32 gas2asm.cpp -o gas2asm.o<br>link32 gas2asm.o -o gas2asm.ezw<br><br>Then you should be able to run<br>gas2asm on all .s assembly files.<br><br>If that still doesen't work download a<br>.asm version of the .s file and it should compile<br>fine.<br><br>If you are still having problems give me your e-mail<br>addr. and I'|| send you the .asm and .obj file for the<br>file in question.  :)
Tue, 13 Aug 2002 03:09:02

Janis Legzdinsh

He compiled with MSVC, not Borland. And it seams that latest version of the assembler has added a check here, because fmul with memory needs to know the size of the argument.

Back to the Vavoom Forum Archives