Download presentation
Presentation is loading. Please wait.
1
Tutorial 7 MODULE 6
2
Q1 The starting address of a read only valid Non-system data segment in is C30000H Size is 24KB, Highest Privilege Level, Has been accessed before And addresses have to be incremented to read consecutive data (i.e. address expands upwards) What will be the 8-byte descriptor? (Write from MSB onwards) 10,01,00
3
Q2 If the 8byte descriptor of a segment in is FF FF What is the size of the segment? Is this a code or data segment? Is this segment Read only/execute only , Read or Write? Has this segment been accessed before? What is the starting address of the segment? What is the minimum RPL required to access this segment? 256 bytes Code Read Yes 11
4
Q3 Paging is enabled CR3 = 70 00 00 00H
Linear address generated is AC H. What will be the address in the Paging Directory that will you look for in order to get the starting address of the paging table? 16KB = 4kx4
5
Question Processor GDTR – H
6
GDT Address Data 100008 00 82 01 FF 100010 20 100018 83 03 3F 100020 FC 0A 1F 100028 DF B0 100030 92 B1 0F 100038 F1 7B 100040 D2 7A 07 100048 9F A1 100050 C4 A3 7F 100058 100060 B3 50
7
LDT1 Address Data 010000 00 82 01 FF 010008 20 010010 83 03 3F 010018 FC 0A 1F 010020 DF B0 010028 92 B1 0F 010030 B2 7B 010038 D2 7A 07 010040 9F A1 010048 B3 A3 010050 010058 50
8
LDT2 Address Data 200000 00 82 01 FF 200008 20 200010 83 03 3F 200018 FC 0A 1F 200020 DF B0 200028 92 B1 0F 200030 B2 7B 200038 D2 7A 07 200040 A1 200048 B3 A3 200050 200058 50
9
Question 4 DS = 003AH INST – MOV AX,[0200H] Physical Address
Type of Segment, Protection Level etc.
10
Question 5 DS = 0045H LDTR – 00108H MOV BX,[1234H] Physical Address
Type of Segment, Protection Level etc.
11
Processor CR3 FF Paging Enabled
12
GDT Address Data 00 D0 82 01 FF 20 04 Do 83 03 3F FC 0A 1F DF B0 92 B1 0F B2 7B D2 7A 07 9F A1 B3 A3 30 50
13
Question 6 DS = 0050H INST – MOV EAX,[00 00 70 34] Physical Address
Type of Segment, Protection Level etc.
14
PD Address Data FF000000 01 00 FF000004 02 FF000008 03 FF00000C 04
05 FF000014 06 FF000018 08 FF00001C 0A FF000020 0B FF000024 0C FF000028 0E FF00002C 0F
15
PT Address Data 030008C0 10 00 030008C4 11 030008C8 12 030008CC 13 030008D0 14 030008D4 15 030008D8 16 030008DC 1A 030008E0 1B 030008E4 1C 030008E8 030008EC Address Data 21 00 22 23 C 24 25 26 28 C 2A 2B 2C 2D C 30 Q4 – physical address = A Q5- physical address = B Q6 – linear Address = 00 A Q3- physical address =
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.