Kay, at first of all: I'm a newb :d
I would like to kinda debug by outputting the values in some DWs and DDs. At first I would like to convert them into a string, then output them via MessageBox. I should probably use a macro, or shouldn't I? I'm the newbie, so you tell me.. ;)
If I can't get my stuff fixed I will just post my code.. but I'd like to get it myself.. :o

Thanx!

Greetz,
yaXay
Posted on 2003-11-12 12:50:32 by yaXay
In the masm32 library there are functions that will do the conversion for you..

atodw		Convert ascii number to DWORD

htodw Convert hex string to DWORD
dwtoa Convert DWORD to ascii string
dw2hex Convert DWORD to hex string
dw2ah Convert DWORD to ascii hex
udw2str Convert unsigned DWORD to string
ustr2dw Convert string to unsigned DWORD
ltoa Convert signed DWORD to ascii string
atol Convert ascii string to signed DWORD
Posted on 2003-11-12 12:59:33 by donkey
hint: VKims debug macros
Posted on 2003-11-12 15:40:50 by Delight
I also just answered a similar question in the following thread:
http://www.asmcommunity.net/board/index.php?topic=16030

Raymond
Posted on 2003-11-12 22:38:42 by Raymond