What are the types of user descriptors available in x86 protected mode? State their names.
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 1 โ 10 of 173 Questions
Page 1 of 18
Construct 8-byte Protected Mode Segment Descriptors in 'dd doubleword1, doubleword2' NASM assembly format given attribute parameters A = 0, P = 1, G = 0, AVL = 1, and r = 0 for:
i. 32-bit, non-conforming, execute-only code segment at privilege level 2, with base address 0x00403333 and limit 0x0FFFF.
ii. 32-bit, read-only data segment at privilege level 0, with base address 0x00A0BBBB and limit 0x1CCCC.
Calculate the 32-bit physical memory addresses in Protected Mode given Segment Base = 0x00A00000, Limit = 0x30000, EBX = 0x00001000, and ESI = 0x00003000 for the following memory operand accesses:
i. [bx+si]
ii. [ebx+esi-0x0012FD]
A 32-bit address register can access up to ________ of memory, significantly increasing memory access capacity.
Give the names and brief descriptions of any two Segment Descriptors used in x86 Protected Mode.
Explain the complete step-by-step process required to switch an x86 processor from 16-bit Real Mode into 32-bit Protected Mode.
In x86 Protected Mode, what is the size of a Segment Selector register (such as CS, DS, SS, ES, FS, GS)?
What is the difference between a Fault exception and a Trap exception in x86 Protected Mode architecture?
Construct the 8-byte Protected Mode Segment Descriptor in 'dd doubleword1, doubleword2' NASM assembly format for a 32-bit writable data segment at Privilege Level 2 (DPL=2), with base address 0x00B00000 and limit 0x10000. Assume attribute bits: A=1, AVL=0, P=1, r=0, G=0, D=1, E=0, and B=1.
Construct the 8-byte Protected Mode Segment Descriptor in 'dd doubleword1, doubleword2' NASM assembly format for a 32-bit non-conforming, readable code segment at Privilege Level 0, with base address 0x00300000 and limit 0x0FFFF.