Basic Microprocessor Architecture

Slides:



Advertisements
Similar presentations
Chapter 2 (cont.) An Introduction to the 80x86 Microprocessor Family Objectives: The different addressing modes and instruction types available The usefulness.
Advertisements

MICROPROCESSORS TWO TYPES OF MODELS ARE USED :  PROGRAMMER’S MODEL :- THIS MODEL SHOWS FEATURES, SUCH AS INTERNAL REGISTERS, ADDRESS,DATA & CONTROL BUSES.
Introduction to 8086 Microprocessor
Introduction to Microprocessor
The Microprocessor and its Architecture
IA-32 Processor Architecture
© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Chapter 2 The Microprocessor and its Architecture.
1 ICS 51 Introductory Computer Organization Fall 2006 updated: Oct. 2, 2006.
Assembly Language for Intel-Based Computers Chapter 2: IA-32 Processor Architecture Kip Irvine.
Microprocessors Introduction to ia32 Architecture Jan 31st, 2002.
ICS312 Set 3 Pentium Registers. Intel 8086 Family of Microprocessors All of the Intel chips from the 8086 to the latest pentium, have similar architectures.
© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Chapter 2 The Microprocessor and its Architecture.
Gursharan Singh Tatla Block Diagram of Intel 8086 Gursharan Singh Tatla 19-Apr-17.
Unit-1 PREPARED BY: PROF. HARISH I RATHOD COMPUTER ENGINEERING DEPARTMENT GUJARAT POWER ENGINEERING & RESEARCH INSTITUTE Advance Processor.
The 8086 Microprocessor The 8086, announced in 1978, was the first 16-bit microprocessor introduced by Intel Corporation 8086 is 16-bit MPU. Externally.
CEG 320/520: Computer Organization and Assembly Language ProgrammingIntel Assembly 1 Intel IA-32 vs Motorola
An Introduction to 8086 Microprocessor.
1 Fundamental of Computer Suthida Chaichomchuen : SCC
Types of Registers (8086 Microprocessor Based)
Fall 2012 Chapter 2: x86 Processor Architecture. Irvine, Kip R. Assembly Language for x86 Processors 6/e, Chapter Overview General Concepts IA-32.
The x86 Architecture Lecture 15 Fri, Mar 4, 2005.
80386DX. Programming Model The basic programming model consists of the following aspects: – Registers – Instruction Set – Addressing Modes – Data Types.
Chapter 2 Parts of a Computer System. 2.1 PC Hardware: Memory.
Computers organization & Assembly Language Chapter 1 THE 80x86 MICROPROCESSOR.
3.4 Addressing modes Specify the operand to be used. To generate an address, a segment register is used also. Immediate addressing: the operand is a number.
1 Microprocessors CSE – 341 EEE – 365 \\server2\tsr\Spring\CSE\CSE341
INTRODUCTION TO INTEL X-86 FAMILY
Information Security - 2. Other Registers EFLAGS – 32 Bit Register CFPFAFZFSFTFIFDFOFIO PL IO PL NTRFVM Bits 1,3,5,15,22-31 are RESERVED. 18: AC, 19:VIF,
MODULE 5 INTEL TODAY WE ARE GOING TO DISCUSS ABOUT, FEATURES OF 8086 LOGICAL PIN DIAGRAM INTERNAL ARCHITECTURE REGISTERS AND FLAGS OPERATING MODES.
Internal Programming Architecture or Model
Intel 8086 MICROPROCESSOR ARCHITECTURE
Intel MP Organization. Registers - storage locations found inside the processor for temporary storage of data 1- Data Registers (16-bit) AX, BX, CX, DX.
The Microprocessor & Its Architecture A Course in Microprocessor Electrical Engineering Department Universitas 17 Agustus 1945 Jakarta.
8086 Microprocessor J Srinivasa Rao.
ΜComputer Structure μProcessor Memory Bus System I/O Ports.
Chapter 12 Processor Structure and Function. Central Processing Unit CPU architecture, Register organization, Instruction formats and addressing modes(Intel.
Chapter Overview General Concepts IA-32 Processor Architecture
Microprocessor Architecture
Homework Reading Lab with your assigned section starts next week
BLOCK DIAGRAM OF INTEL 8085.
80486 Microprocessor The 32-bit is the next evolutionary step up from the One of the most obvious feature included in a is a built.
Difference between Microprocessor and Microcontroller
UNIT Architecture M.Brindha AP/EIE
Introduction to 8086 Microprocessor
Introduction to the processor and its pin configuration
8086 MICROPROCESSOR ARCHITECTURE & SEGMENTATION
8086 Microprocessor.
Chapter 2 The Microprocessor and its Architecture
Intel 8086 MICROPROCESSOR Architecture.
Assembly IA-32.
Microprocessor The microprocessors functions as the CPU in the stored program model of the digital computer. Its job is to generate all system timing signals.
Intel 8088 (8086) Microprocessor Structure
Homework Reading Continue work on mp1
..
Basic of Computer Organization
Microprocessor-Unit I
Microcomputer & Interfacing Lecture 1
8086 Features It is a 16 bit μp. It is manufactured with H-MOS technology has a 20 bit address bus can access up to 220 memory locations ( 1 MB)
COAL Chapter 1,2,3.
Chapter 2: The Microprocessor and its Architecture
Introduction to Assembly Language
Microprocessor & Assembly Language
Intel 8088 (8086) Microprocessor Structure
CS 301 Fall 2002 Computer Organization
University of Gujrat Department of Computer Science
The Microprocessor & Its Architecture
Computer Architecture CST 250
Chapter 2: The Microprocessor and its Architecture
REGISTER ORGANIZATION OF 80386
8086 microprocessior PIN OUT DIAGRAM OF  Power supply and frequency signals  It uses 5V DC supply at V CC pin 40, and uses ground at V SS pin.
Presentation transcript:

Basic Microprocessor Architecture

8086 Internal Architecture

IA-32 Registers Special Purpose registers General Purpose register Eight 32-bit general-purpose registers Six 16-bit segment registers Processor Status Flags (EFLAGS) and Instruction Pointer (EIP) CS SS DS ES EIP EFLAGS 16-bit Segment Registers EAX EBX ECX EDX 32-bit General-Purpose Registers FS GS EBP ESP ESI EDI

IA-32 Registers Specialized uses of Registers EAX – Accumulator register Automatically used by multiplication and division instructions ECX – Counter register Automatically used by LOOP instructions ESP – Stack Pointer register Used by PUSH and POP instructions, points to top of stack ESI and EDI – Source Index and Destination Index register Used by string instructions EBP – Base Pointer register Used to reference parameters and local variables on the stack EBX- which is addressable as EBX, BX, BH, or BL. The BX register (base index) sometimes holds the offset address of a location in the memory system . EDX- which is addressable as EDX, DX, DH, or DL is a (data) general-purpose register that holds a part of the result from a multiplication or part of the dividend before a division

Accessing Parts of Registers EAX, EBX, ECX, and EDX are 32-bit Extended registers Programmers can access their 16-bit and 8-bit parts Lower 16-bit of EAX is named AX AX is further divided into AL = lower 8 bits AH = upper 8 bits ESI, EDI, EBP, ESP have only 16-bit names for lower half

Special-Purpose & Segment Registers EIP = Extended Instruction Pointer Contains address of next instruction to be executed EFLAGS = Extended Flags Register Contains status and control flags Each flag is a single binary bit Six 16-bit Segment Registers Support segmented memory Six segments accessible at a time Segments contain distinct contents Code Data Stack

EFLAGS Register Status Flags Control and System flags Status of arithmetic and logical operations Control and System flags Control the CPU operation Programs can set and clear individual bits in the EFLAGS register

Status Flags Control Flag 0.CF : Carry Flag 2.PF : Parity Flag Set if the last arithmetic operation carried (addition) or borrowed (subtraction) a bit beyond the size of the register. 2.PF : Parity Flag Set if the number of set bits in the least significant byte is even. 4.AF : Auxiliary carry Flag Set when there is a carry from bit 3 to bit 4 6.ZF : Zero Flag Set if the result of an operation is Zero (0). 7.SF : Sign Flag Set if the result of an operation is negative. 11.OF : Overflow Flag Set if signed arithmetic operations result in a value too large for the register to contain. Control Flag 10.DF : Direction Flag Stream direction. If set, string operations will decrement their pointer rather than incrementing it, reading memory backwards.

System Flags 8.TF : Trap Flag 9.IF : Interruption Flag Set if step by step debugging. 9.IF : Interruption Flag Set if interrupts are enabled. 12-13.IOPL : I/O Privilege Level field (2 bits) I/O Privilege Level of the current process. 14.NT : Nested Task flag Controls chaining of interrupts. Set if the current process is linked to the next process. 16.RF : Resume Flag Response to debug exceptions. 17.VM : Virtual-8086 Mode Set if in 8086 compatibility mode. 18.AC : Alignment Check Set if alignment checking of memory references is done.

System Flags 19.VIF : Virtual Interrupt Flag Virtual image of IF. 20.VIP : Virtual Interrupt Pending flag Set if an interrupt is pending. 21.ID : Identification Flag Support for CPUID instruction if can be set.

8086 Pin-out Minimum mode: single processor mode Maximum mode: multiprocessor mode.

Pin Description AD15 –AD0: The time multiplexed memory I/O address and data lines A19/S6–A16/S3: The address/status bus bits are multiplexed to provide address signals A19–A16 and also status bits S6–S3 RD: Read signal, when low, indicates that the processor is performing a memory or I/O read operation READY: This is the acknowledgement from the slow devices or memory that they have completed the data transfer INTR: Interrupt request is used to request a hardware interrupt NMI : The non-maskable interrupt input is similar to INTR except that the NMI interrupt does not check to see whether the IF flag bit is a logic 1

Pin Description VCC: This power supply input provides a +5.0 V GND: The ground connection is the return for the power supply CLK: The clock pin provides the basic timing signal to the microprocessor MN/MX: The minimum/maximum mode pin selects either minimum mode or maximum mode operation for the microprocessor WR: The write line indicates that the processor is outputting data to a memory or I/O device M/IO: Selects memory or I/O