Professional Documents
Culture Documents
CS EEE F241 Advanced Processor 1
CS EEE F241 Advanced Processor 1
CS EEE F241 Advanced Processor 1
T1. Barry B Brey, The Intel Microprocessors .Pearson, Eight Ed. 2009. Chapter 16-17
5/2/2023 2
5/2/2023 3
5/2/2023 4
5/2/2023 5
5/2/2023 6
5/2/2023 7
5/2/2023 8
Above 1M
• Windows operate
• Segment + Offset
• Segment Register –Selector –Selects Descriptor from Descriptor
Table
• Descriptor
• Location
• Length
• Access Rights
• Instructions don’t change as still it is segment-offset combo
• In 80386 & 80486 –32-bit pointers possible
5/2/2023 9
5/2/2023 11
5/2/2023 12
5/2/2023 13
5/2/2023 14
5/2/2023 16
5/2/2023 17
5/2/2023 18
5/2/2023 19
5/2/2023 20
5/2/2023 21
5/2/2023 22
5/2/2023 23
5/2/2023 24
MOV AX,[1000H]
DS:1000
DS = 001C
1st13 bits –0000 0000 0001 1100 -LDT
Selector –LDTR
LDTR –0018 –0000 0000 0001 1000
GDTR + 0018 (entry no. 3)
GDTR –00 00 00
LDT starts at –40 00 00
5/2/2023 25
5/2/2023 26
DS = 001C
Selector –LDTR
GDTR –00 00 00
DS starts at –80 00 00
Linear Address –80 10 00
5/2/2023 27
5/2/2023 28
80286
Real Mode
Protected Mode
• Segment Register –Selector –points to descriptor
(LDT/GDT) –descriptor has starting address of
segment –Starting Address + Offset
5/2/2023 29
80386/80486
Real Mode
Protected Mode
5/2/2023 30
5/2/2023 31
5/2/2023 32
5/2/2023 33
5/2/2023 34
5/2/2023 35
5/2/2023 36
000000000000
5/2/2023 37
5/2/2023 38
5/2/2023 39
5/2/2023 40