UNIT 8 Advanced Microprocessors
UNIT 8 Advanced Microprocessors
Advanced Microprocessors
Outline:
8086 logical block diagram, segmentation, Pin
80286 is the advanced microprocessors with memory management and protection abilities.
80286 have two operating modes namely real address mode and virtual address mode.
In real address mode, it can address up to 1MB of physical memory address like 8086.
In virtual address mode, it can address up to 16 MB of physical memory address space and 1
GB of virtual memory address space.
2. Bus Control
3. Instruction Pre-fetcher
5. Data Transceivers
Instruction decoder
Functions :
Functions:
To sequentially execute instructions received from the instruction
unit.
ALU result is either stored in registers or sent back over data bus.
80286 Architecture: Address
Unit
Components:
1. Segment Bases
2. Segment Limit Checker
3. Segment Size
4. Offset address
5. Physical address adder
Functions:
1. It computes physical address that will be sent out to the memory
or I/O by Bus Unit (BU).
2. 80286 operate in two different modes
3. 1. Real address mode
4. 2. Protected Virtual Address Mode.
Register Organization of
80286
Eight 16-bit general purpose registers (AX, BX, CX, DX, SP, BP, SI, DI).
Four 16-bit segment registers (CS, SS, DS,ES).
16-bit Instruction Pointer (IP).
16-bit Flag Register.
Additionally, one new 16-bit Machine Status Word (MSW) register.
Segment Descriptor: PVAM
Descriptor
This smaller segments or pages have been associated with data structure called a
Descriptor.
It contains information of program segment or pages.
The data structure Descriptor is essentially one such identifier of particular program or
segment.
The set of such descriptor arranged in a proper sequence describes the complete
program.
Descriptor Table GDT & LDT
What is Descriptor Table?
The descriptor is a block of contiguous memory location containing information of a
segment, like :
1. Segment base address
2. Segment limit
3. Segment type
6. Descriptor type
The GDT contains information about segments that are global in nature, that is, available
to all programs and normally used most heavily by the operating system.
A global descriptor is also known as System Descriptor, and local descriptor is know as
Application Descriptor.
Execution unit :
Execution unit has 8 General purpose registers which are either used for handling data or calculating offset
addresses.
The execution unit processes the instructions from the instruction queue.
It contains a control unit, a data unit and a protection test unit.
The barrel shifter increases the speed of all shift and rotate operations.
Register organization of
80386
General Purpose Register :
Registers EAX, EBX, ECX, EDX, EBP, EDI and ESI are regarded as general purpose or multipurpose registers.
EAX (ACCUMULATOR): The accumulator is used for instructions such as multiplication, division and some of
the adjustment instructions. In 80386 and above, the EAX register may also hold the offset address of a
location in memory system.
EBX (BASE INDEX): This can hold the offset address of a location in the memory system in all version of the
microprocessor. It the 80386 and above EBX also can address memory data.
ECX (count): This acts as a counter for various instructions.
EDX (data): EDX is a general-purpose registers that holds a part of the result for multiplication or part of the
division. In the 80386 and above this register can also address memory data.
Pointer and Index Register
EBP (Base Pointer): EBP points to a memory location in all version of the microprocessor for memory data
transfers.
ESP (Stack Pointer): ESP addresses an area of memory called the stack. The stack memory is a data LIFO data
structure. The register is referred to as SP if used in 16 bit mode and ESP if referred to as a 32 bit register.
EDI (Destination index): EDI often addresses string destination data for the string instruction. It also functions
as either a 32-bit (EDI) or 16-bit (DI) general-purpose register.
THANK YOU