News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Minor bug..

Started by Rockoon, October 31, 2007, 03:25:36 AM

Previous topic - Next topic

Rockoon


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..
When C++ compilers can be coerced to emit rcl and rcr, I *might* consider using one.

jorgon

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.
Author of the "Go" tools (GoAsm, GoLink, GoRC, GoBug)

jorgon

Hi Rockoon

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

Thanks for reporting the bug!

[attachment deleted by admin]
Author of the "Go" tools (GoAsm, GoLink, GoRC, GoBug)

Rockoon

You're welcome..

..any chance of the preprocessor actualy supporting floating point math? *hintgrin*
When C++ compilers can be coerced to emit rcl and rcr, I *might* consider using one.