flat assembler
Message board for the users of flat assembler.
Index
> Windows > Strings and integer probelm |
Author |
|
JohnFound 28 Dec 2004, 21:40
lilljocke wrote: Text db ?,0 If you want to allocate buffer for strings, you have to use "rb" directive: Code: Text rb 1024 ; allocates (reserve) 1024 bytes for string processing. Also, you have to put the terminating zeros at the end of the strings you create with the program. Of course if you need only string constants, you can define them using "db": Code: TextConst db 'Some text", 0 Regards |
|||
28 Dec 2004, 21:40 |
|
lilljocke 28 Dec 2004, 22:57
this problem is only sometimes so it mabye works, thanks a lot
|
|||
28 Dec 2004, 22:57 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.