Results 1 to 2 of 2

Thread: Segments and Offsets

  1. #1

    Thread Starter
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827

    Segments and Offsets

    I think I am understanding them now but I am not sure.
    Is this the correct definition of Segment:Offset:


    The memory is divided into different segments(like when TCP/IP segments your data,using the transport layer, before sending it over the network). Each segment has its own address in the memory (EG:0B20h).
    An offset is located in a segment. It also has its own memory address but it start from the segment (EG: 0B20h:00000h) would be the location at the start of the given segment.
    Baaaaaaaaah

  2. #2
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    Your program is divided into different segments, code, stack, and data. An offset is some value that you are to move from some position.
    "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