|
-
Oct 15th, 2004, 07:52 AM
#1
Thread Starter
Fanatic Member
Data Segment Problems
Yes, I know this is a double post, but this question also pertains to the assembly forum. If you use TASM 4.0, you may be able to answer this.
How could I define multiple data segments in Borland Turbo C 3.0?
"Can't" and "shouldn't" are two totally separate things.
All questions should be answered. All answers should be true. That is why I post.
-
Oct 17th, 2004, 07:57 AM
#2
Something like..
Code:
DGROUP GROUP _DATA,_OTHER
_DATA SEGMENT WORD PUBLIC 'DATA'
szString1 db "String 1",0dh,0ah,0
szString2 db "String 2",0dh,0ah,0
_DATA ENDS
_OTHER SEGMENT WORD PUBLIC 'OTHER'
;other stuff here
_OTHER ENDS
Not too sure what you mean, but...
Phreak
Visual Studio 6, Visual Studio.NET 2005, MASM
-
Oct 21st, 2004, 11:06 AM
#3
Thread Starter
Fanatic Member
Thanks for the response. Right now I am waiting on a response back from the person that I am helping.
"Can't" and "shouldn't" are two totally separate things.
All questions should be answered. All answers should be true. That is why I post.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|