The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: dedndave on May 06, 2009, 02:05:07 AM

Title: 64-bit int display macro?
Post by: dedndave on May 06, 2009, 02:05:07 AM
is there a macro to display 64-bit unsigned integers (EDX:EAX) ?
Title: Re: 64-bit int display macro?
Post by: GregL on May 06, 2009, 04:06:39 AM
Dave,

There is uqword$ and sqword$ which use msvcrt.dll.  If you have a problem with that, they can easily be modified to use wsprintf instead of sprintf by changing 'crt_sprintf' to 'wsprintf' in the macros, those functions have the same parameters.  If I remember correctly, I tested them with EDX:EAX.

Title: Re: 64-bit int display macro?
Post by: dedndave on May 06, 2009, 07:22:59 AM
many thanks, Greg
perfect  :U