The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: shankle on December 12, 2011, 01:18:02 PM

Title: dwtoa
Post by: shankle on December 12, 2011, 01:18:02 PM
Sorry for this post.
Error found. An invalid register crept into the dwtoa code.
It makes sense to use the "lpBuffer:dword"
The other one is obviously wrong.

Where can I find the latest version of DWTOA?
Been using it for a long time but strange things are happening with it now.
Yes, it is something I most likely have done wrong.
I have found conflicting versions of it on MASM32.

The version that I have been using for a long time has lpBuffer defined
as "lpBuffer: PTR BYTE".
Another version has lpBuffer defined as "lpBuffer:dword"
Which is correct?????
Title: Re: dwtoa
Post by: Tedd on December 12, 2011, 06:03:48 PM
A pointer is a dword, so they both mean the same thing, but "ptr byte" is more descriptive.