Results 1 to 3 of 3

Thread: Data Segment Problems

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004

    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.

  2. #2
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246
    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

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    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
  •  



Click Here to Expand Forum to Full Width