News:

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

creating a piece of data of more then 256 bytes

Started by white scorpion, May 29, 2005, 01:24:09 PM

Previous topic - Next topic

white scorpion

Hi all,

i'm trying to create a string which is larger then 256 bytes and when i try to assemble the program i get as result:
"Statement too complex".

eg:

.DATA
string db    "This is my teststring, blah blah blah blah blah blah blah",13,10,\
             "here some more text to fill up the string",13,10,13,10,\
             "and another line after the newline.....",13,10,\
             "some more text here as well.... i think this string now is long enough to",13,10,\
             "give the error in during assembly...",0

When i split the string into 2 pieces the program assembles like it should.

How can i solve this problem?

Thanks in advance!


hutch--


.data
  txtname db "This is a text string",13,10
           db "This is a text string",13,10
           db "This is a text string",13,10,0
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

white scorpion

Works like a charm,
Thanks for your help  :U