hello,
(unfortunately, i cannot find the newbie section, so i'll post here)
i need labels which are larger than 255 chars in size,
if i define some labels or some text literals which consist of more than 255 chars masm will complain.
i tried the /Sl option (/Sl 1024), but masm replaces that value
with its default one.
thx.
(unfortunately, i cannot find the newbie section, so i'll post here)
i need labels which are larger than 255 chars in size,
if i define some labels or some text literals which consist of more than 255 chars masm will complain.
i tried the /Sl option (/Sl 1024), but masm replaces that value
with its default one.
thx.
I_wouldn_t_know_why_you_need_labels_of_more_than_256_chars :) but if strings in the data section can simply be split:
Thomas
stringData db "blah blah blah "
db "and even more blah "
db "and so on",0
Thomas
i did say that i need _labels_ and _constants_ of more than 255 chars, not strings
>I_wouldn_t_know_why_you_need_labels_of_more_than_2
>56_chars
i just need that labels ;)
>I_wouldn_t_know_why_you_need_labels_of_more_than_2
>56_chars
i just need that labels ;)
exzito, this is a limitation of MASM - I don't like it either. :(
Sorry I misunderstood you, like bitRAKE said it's a limitation of masm, not much to do about it :(...
Thomas
Thomas
what a pity
did anyone try to write some macros to handle literals or labels
of that type?
perhaps macros are a solution
did anyone try to write some macros to handle literals or labels
of that type?
perhaps macros are a solution
Dilute my ignorance some, why the hell do you need labels longer than 255 characters ? A label is nothing more than a placeholder for the next instruction and there is no change in the code that is generated if the label is 2 characters long or 200 characters long.
Regards,
hutch@movsd.com
Regards,
hutch@movsd.com
Dilute my ignorance some, why the hell do you need labels longer than 255 characters ?
i agree... *i* wouldn't want to type some label longer than even maybe ten characters... i'm hesitant to call anything longer six or seven characters (except for some procedures of the same class with a prefix)... two hundred fifty five! i'd make a typo somewhere :)
I think MASM 4 allowed labels of any length, but only the first 31 or 32 were actually used. Anything longer was just ignored.
I don't think I've ever used more than about 16.
:)
I don't think I've ever used more than about 16.
:)
;...
__CONST equ <>
make macro
__CONST CatStr __CONST, <more text >
endm
;...
repeat 26
make
endm
%echo __CONST
do you think masm accepts it and it will print out the value of __CONST?
__CONST equ <>
make macro
__CONST CatStr __CONST, <more text >
endm
;...
repeat 26
make
endm
%echo __CONST
do you think masm accepts it and it will print out the value of __CONST?