The MASM Forum Archive 2004 to 2012

Project Support Forums => GoAsm Assembler and Tools => Topic started by: Rockoon on October 31, 2007, 03:25:36 AM

Title: Minor bug..
Post by: Rockoon on October 31, 2007, 03:25:36 AM

GoAsm doesnt seem to raise an error with the following, although it certainly should:

.data

f0 = 1.1
f1 = 2.0

foo DD f1 - f0

It appears to encode foo as 2.0 here and ignores the remainder of the line.. makes me wonder what other issues might simply get ignored by the assembler..
Title: Re: Minor bug..
Post by: jorgon on October 31, 2007, 08:37:16 AM
Hi Rockoon

Welcome to the forum and thanks for the bug report about initialising a dword by subtracting one real number from another real number when those real numbers are defined by words.

I'll have a look at this and come back to you.
Title: Re: Minor bug..
Post by: jorgon on November 01, 2007, 08:37:36 PM
Hi Rockoon

I now attach a fix for this bug (GoAsm Version 56.03e).

Thanks for reporting the bug!

[attachment deleted by admin]
Title: Re: Minor bug..
Post by: Rockoon on November 02, 2007, 10:32:11 AM
You're welcome..

..any chance of the preprocessor actualy supporting floating point math? *hintgrin*