Saturday, March 14, 2020

ASM: Convert int to string in Assembly part 2

This post shows how to convert int (DWORD) to string using modified version of dwtoa(dwtoa2) from MASM library. Older post can be found here.



Pre-requisite:



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

To link:
\masm32\bin\Link /SUBSYSTEM:CONSOLE int2string2.obj

No comments:

CPP Quick Guide

Basics Hello world User input While loop If statement For loop Switch statement Read file using ifstream Write to a file using ofstr...