9
The Intel The Intel Microprocessors Microprocessors

The Intel Microprocessors. Real Mode Memory Addressing Real mode, also called real address mode, is an operating mode of 80286 and later x86-compatible

Embed Size (px)

Citation preview

Page 1: The Intel Microprocessors. Real Mode Memory Addressing Real mode, also called real address mode, is an operating mode of 80286 and later x86-compatible

The Intel The Intel MicroprocessorsMicroprocessors

Page 2: The Intel Microprocessors. Real Mode Memory Addressing Real mode, also called real address mode, is an operating mode of 80286 and later x86-compatible

Real Mode Memory Real Mode Memory AddressingAddressingReal mode, also called real address

mode, is an operating mode of 80286 and later x86-compatible CPUs. Real mode is characterized by a 20 bit segmented memory address space (giving exactly 1 MB of addressable memory) and unlimited direct software access to all memory, I/O addresses and peripheral hardware. Real mode provides no support for memory protection, multitasking, or code privilege levels

Page 3: The Intel Microprocessors. Real Mode Memory Addressing Real mode, also called real address mode, is an operating mode of 80286 and later x86-compatible

Real Mode Memory Real Mode Memory AddressingAddressingSegment and offsetsSegment address located in one of

the segment registers defines the beginning address of any 64K memory segments.

Offset address selects any location within the 64K memory segments.

Offset sometimes referred to as displacement.

Ending address is found by adding FFFFH with the beginning address.

Page 4: The Intel Microprocessors. Real Mode Memory Addressing Real mode, also called real address mode, is an operating mode of 80286 and later x86-compatible

Default Segment and Offset Default Segment and Offset RegistersRegistersCS:IP Instruction AddressSS: SP or BP(base pointer) Stack

AddressDS: BX, DI Data address.ES :DI String destination address.

Page 5: The Intel Microprocessors. Real Mode Memory Addressing Real mode, also called real address mode, is an operating mode of 80286 and later x86-compatible

Protected Mode Memory Protected Mode Memory AddressingAddressingIn computing, protected mode,

also called protected virtual address mode, is an operational mode of x86-compatible central processing units (CPU). It allows system software to utilize features such as virtual memory, paging, safe multi-tasking, and other features designed to increase an operating system's control over application software.

Page 6: The Intel Microprocessors. Real Mode Memory Addressing Real mode, also called real address mode, is an operating mode of 80286 and later x86-compatible

Protected Mode Memory Protected Mode Memory AddressingAddressingDescriptor describes the location,

length and access rights of the segment of memory.

Segment register contains a selector that selects a descriptor from a descriptor table.

Page 7: The Intel Microprocessors. Real Mode Memory Addressing Real mode, also called real address mode, is an operating mode of 80286 and later x86-compatible

There are two descriptor tables used with segment registers.

Global Descriptor(System descriptor): Contain segment definitions that apply to all programs.

Local Descriptors(application descriptor): Unique to an application.

Page 8: The Intel Microprocessors. Real Mode Memory Addressing Real mode, also called real address mode, is an operating mode of 80286 and later x86-compatible

Base address: Indicates the starting location of the memory segment.

Segment Limit: Contains the last offset address found in a segment.

Page 9: The Intel Microprocessors. Real Mode Memory Addressing Real mode, also called real address mode, is an operating mode of 80286 and later x86-compatible

9

Page Tables Page Tables

Internal operation of MMU with 16 4 KB pages