Anonymous user
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▼
|-
*FS/GS = General Purpose Segments▼
! DS
|-
! SS
|-
! ES
|-
! FS
|-
! 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.
|