Monday, March 23, 2020

ASM: Convert DWORD to string in Assembly using MSVCRT _ultoa

This post shows how to convert unsigned int (DWORD) to string using MSVCRT function _ultoa.



Pre-requisite:



To assemble:
\masm32\bin\ml /c /Zd /coff int2string3.asm

To link:
\masm32\bin\Link /SUBSYSTEM:CONSOLE int2string3.obj
Keywords: Assembly, Win32

No comments:

Formatting code in Blogger

I have been using Github gists to share code and I have no plan of abandoning it. For smaller/one liners, I sometimes use div element with ...