News:

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

I need aid

Started by hecbutoz, November 29, 2005, 05:54:30 AM

Previous topic - Next topic

hecbutoz


in1       DWORD      ?
mov in1, input("Type to letter: ")


when I type from the keyboard a value, in which format is left stored in the variable in1 (for example in ASCII, HEX, binary or as?).

Thank you mates.

MichaelW

The input macro allocates a 128-byte buffer, copies the input string to the buffer, and returns the address of the buffer. For your example, you could print the string that was input with:

  print in1

eschew obfuscation

Infro_X

as micheal said
input stores a pointer to a null terminated ascii string with a size of 128 bytes (max)