-
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.
-
Your program is divided into different segments, code, stack, and data. An offset is some value that you are to move from some position.