In Protected Mode segment selectors, what value must the Table Indicator (TI) bit be set to in order to select the Global Descriptor Table (GDT)?
Ch 15: 32-Bit Protected Mode Architecture
Covers transitioning from 16-bit real mode to 32-bit protected mode, setting the PE bit in CR0, constructing 8-byte segment descriptors (base, limit, access rights), and hardware memory protection rings (Ring 0 vs Ring 3).
173 Questions173 MCQs0 Short Questions0 Long Questions
SEMESTER PASS
CS401 - Computer Architecture and Assembly Language Programming Examination Practice
Timed practice exam simulation for CS401 - Computer Architecture and Assembly Language Programming.
Showing 71 โ 80 of 173 Questions
Page 8 of 18
Define Protected Mode in x86 architecture and explain how it is enabled and its memory addressing capabilities.
Read the following passage regarding x86 Segment Descriptors in Protected Mode and fill in the missing terms: 'In descriptors, the 32-bit base is scattered into different places for backward compatibility. The limit is stored in 20 bits, but the [Blank 1] defines whether the limit is in terms of single bytes or 4 KB pages, allowing a maximum segment size of 4 GB. The [Blank 2] bit must be set to signal that this segment is currently present in physical RAM. DPL is the Descriptor Privilege Level, defining protection levels (0-3).'
Read the passage carefully and fill in the blanks with the correct segment descriptor attribute bits (G bit, P bit, D bit, C bit, R bit, A bit): 'In descriptors, the 32-bit base address is scattered across different fields for backward compatibility. The limit is stored in 20 bits, but the [Blank 1] defines whether the limit is in terms of bytes or 4 KB pages (allowing up to 4 GB). The [Blank 2] must be set to signal that the segment is present in memory. DPL is the Descriptor Privilege Level. The [Blank 3] defines whether the segment executes code in 16-bit or 32-bit mode. The [Blank 4] is the conforming bit. The [Blank 5] signals that the segment is readable, and the [Blank 6] is automatically set whenever the segment is accessed.'
In x86 Protected Mode, which processor register holds the 32-bit linear base physical address and 16-bit limit size of the Interrupt Descriptor Table (IDT)?
In x86 Protected Mode, what information is stored in the first 16 bits (bits 0โ15) of an 8-byte Segment Descriptor?
In Protected Mode x86 architecture, which processor register stores the 32-bit linear base address and 16-bit limit of the Interrupt Descriptor Table (IDT)?
In 80386 Protected Mode, a 32-bit address register can directly address up to how much linear physical memory?
In Protected Mode, a 32-bit address register can directly address up to how much linear memory?
Give the names and primary functions of any two segment descriptors used in x86 Protected Mode architecture.