News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Conversion data display!!

Started by juancabot, November 02, 2005, 03:19:11 PM

Previous topic - Next topic

juancabot

Hello!!

With the follow code:


    mov str1, input("Enter a number : ")
    mov var1, sval(str1)

convert the result to a signed integer

the question is: which is the instruction for converting str1 in letters of the alphabet? which is the code??

Thank you

ToutEnMasm

Hello,
Have a look in the help files,\masm32\HELP\MASMLIB.HLP.
The  Conversions functions give the answer,one sample:

invoke dwtoa,Number,addr buffer.
It's not granted to do exactly what you want,but there is  other's functions and you have the source in C:\masm32\M32LIB\ATODW.ASM

                                ToutEnMasm