Segmentation: Difference between revisions

Jump to navigation Jump to search
no edit summary
[unchecked revision][unchecked revision]
mNo edit summary
No edit summary
Line 17:
The x86 line of computers have 6 segment registers (CS, DS, ES, FS, GS, SS). They are totally independent of one another.
 
{| {{wikitable}}
*CS = Code Segment
|-
*DS = Data Segment
! CS
*SS = [[Stack]] Segment
*ES| = ExtraCode Segment
|-
*FS/GS = General Purpose Segments
! DS
*CS| = CodeData Segment
|-
! SS
*SS =| [[Stack]] Segment
|-
! ES
*DS| = DataExtra Segment
|-
! FS
*FS/GS| rowspan=2 | General Purpose Segments
|-
! GS
|}
 
DS,ES,FS,GS,SS are used to form addresses when you want to read/write to memory. They don't always have to be explicitly encoded, because some processor operations assume that certain segment registers will be used.
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu