News:

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

Using '%S' to set word

Started by hfheatherfox07, April 28, 2011, 03:58:05 AM

Previous topic - Next topic

Gunner

No, you don't have to initialize your buffers, but you did with (0) so they have to go in the .data section for the string buffers to be in the .data? section you have to use (?) which means uninitialized.


buffer2 db 100 dup(0)

in the .data section will take up 100 bytes in your exe... where as

buffer2 db 100 dup(?) in the .data? section does not
~Rob (Gunner)
- IE Zone Editor
- Gunners File Type Editor
http://www.gunnerinc.com