Intel 8086 (8088) Microprocessor Structure

Slides:



Advertisements
Similar presentations
Intel 8086.
Advertisements

8086 Ahad.
Block Diagram of Intel 8086 Engr.M.Zakir Shaikh
Register In computer architecture, a processor register is a small amount of storage available on the CPU whose contents can be accessed more quickly than.
Registers of the 8086/ /2002 JNM.
MICROPROCESSORS TWO TYPES OF MODELS ARE USED :  PROGRAMMER’S MODEL :- THIS MODEL SHOWS FEATURES, SUCH AS INTERNAL REGISTERS, ADDRESS,DATA & CONTROL BUSES.
Parul Polytechnic Institute
Microprocessor System Design3-1 ECE 424 Design of Microprocessor-Based Systems Dr. Esam Al_Qaralleh CE Department Princess Sumaya University for Technology.
Introduction to 8086 Microprocessor
SOFTWARE ARCHITECTURE OF THE 8088 AND 8086 MICROPROCESSORS
Micro-Computer Applications: Number system & 8086 Organization Dr. Eng. Amr T. Abdel-Hamid ELECT 707 Fall 2011.
CEN 226: Computer Organization & Assembly Language :CSC 225 (Lec#3) By Dr. Syed Noman.
3-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL Intel 8088 (8086) Microprocessor.
8-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL x86 Instructions Part.
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.
80x86 Processor 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.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
The 8086 Microprocessor The 8086, announced in 1978, was the first 16-bit microprocessor introduced by Intel Corporation 8086 is 16-bit MPU. Externally.
An Introduction to 8086 Microprocessor.
DEPARTMENT OF COMPUTER SCIENCE & TECHNOLOGY FACULTY OF SCIENCE & TECHNOLOGY UNIVERSITY OF UWA WELLASSA 1 Microprocessor Architecture.
1 Fundamental of Computer Suthida Chaichomchuen : SCC
SYSC30061 The Intel 80x86 Thorne : Section , 2.2.4, Section 3.4 (Irvine, Edition IV : Section 2.2)
Microprocessor Microprocessor (cont..) It is a 16 bit μp has a 20 bit address bus can access upto 220 memory locations ( 1 MB). It can support.
8086 Internal Architecture
Block diagram of 8086.
6-4 CPU-Registers, effective address General registers vs Segment registers Computer Studies (AL)
INTRODUCTION TO INTEL X-86 FAMILY
MODULE 5 INTEL TODAY WE ARE GOING TO DISCUSS ABOUT, FEATURES OF 8086 LOGICAL PIN DIAGRAM INTERNAL ARCHITECTURE REGISTERS AND FLAGS OPERATING MODES.
Microprocessor Fundamentals Week 2 Mount Druitt College of TAFE Dept. Electrical Engineering 2008.
Internal Programming Architecture or Model
1 x86 Programming Model Microprocessor Computer Architectures Lab Components of any Computer System Control – logic that controls fetching/execution of.
Intel 8086 MICROPROCESSOR ARCHITECTURE
BITS Pilani Pilani Campus Pawan Sharma Lecture / ES C263 INSTR/CS/EEE F241 Microprocessor Programming and Interfacing.
SOFTWARE ARCHITECTURE OF THE 8088 AND 8086 MICROPROCESSORS
8086 Microprocessor J Srinivasa Rao.
I NTEL 8086 M icroprocessor بسم الله الرحمن الرحيم 1.
ΜComputer Structure μProcessor Memory Bus System I/O Ports.
An Introduction to 8086 Microprocessor.
History – 2 Intel 8086.
UNIT Architecture M.Brindha AP/EIE
Introduction to 8086 Microprocessor
COURSE OUTCOMES OF Microprocessor and programming
8086 MICROPROCESSOR ARCHITECTURE & SEGMENTATION
8086 Microprocessor.
Intel 8088 (8086) Microprocessor Structure
Intel 8086 MICROPROCESSOR Architecture.
ADDRESSING MODES.
University of Gujrat Department of Computer Science
Intel 8088 (8086) Microprocessor Structure
1st micro 1971 calculator 2300 transistors 4-bit microprocessor
..
Basic of Computer Organization
Microcomputer & Interfacing Lecture 1
University of Gujrat Department of Computer Science
Microprocessor & Assembly Language
Intel 8088 (8086) Microprocessor Structure
8086 Registers Module M14.2 Sections 9.2, 10.1.
CS-401 Computer Architecture & Assembly Language Programming
8086 Ahad.
Morgan Kaufmann Publishers Computer Organization and Assembly Language
CS 301 Fall 2002 Computer Organization
Computer Architecture CST 250
Unit-I 80386DX Architecture
Intel 8086.
Memory segmentation and addressing
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.
Microprocessor Lecture 7 (8086 Registers).
Presentation transcript:

Intel 8086 (8088) Microprocessor Structure

What is a Computer? Memory I/O Processor Data Bus Address Bus Control Bus Processor Memory I/O

8086 Microprocessor

Overview Intel 8086 facts 8086 VCC (5V) GND CLK 20-bit address 16-bit data   control signals To 8086 from 8086 20 bit address bus allow accessing 1 M memory locations 16-bit external data bus. Thus, it need one read (or write) operations to read (or write) a 16-bit data. 8086 signal classification

Organization of 8086 Execution Unit (EU) Bus Interface Unit (BIU) AH AL BH BL CH CL DH DL SP BP SI DI ALU Flag register Execution Unit (EU) EU control  CS DS SS ES ALU Data bus (16 bits) Address bus (20 bits) Instruction Queue Bus External bus IP Data bus Bus Interface Unit (BIU) General purpose register Segment

EU EU (execution unit) of the 8086 tells the BIU where to fetch instructions or data from, decodes instructions, and executes instructions.

EU Operation 1. Fetch an instruction from instruction queue ALU Data bus (16 bits) AH AL BH BL CH CL DH DL SP BP SI DI General purpose register ALU Flag register EU control instruction 1011000101001010 1. Fetch an instruction from instruction queue 2. According to the instruction, EU control logic generates control signals. (This process is referred to as instruction decoding) 3. Depending on the control signal, EU performs one of the following operations (Execution): An arithmetic operation A logic operation Moving a data from a register Changing flag register

1. General Purpose Registers 15 8 7 AX BX CX DX AH AL BH BL CH CL DH DL Accumulator Base Counter Data SP BP SI DI Data Group Pointer and Index Group Stack Pointer Base Pointer Source Index Destination Index

2. Arithmetic Logic Unit (ALU) n bits A B Y F Carry Y= 0 ? A > B ? F Y 0 0 0 A + B 0 0 1 A - B 0 1 0 A - 1 0 1 1 A and B 1 0 0 A or B 1 0 1 not A       Signal F control, which function will be conducted by ALU. Signal F is generated according to the current instruction. Basic arithmetic operations: addition, subtraction,  Basic logic operations: and, or, xor, shifting,

3. Flag Register Flag register contains information reflecting the current status of a microprocessor. It also contains information which controls the operation of the microprocessor.  --- -------- OF DF IF TF ZF SF AF PF CF 15 Control Flags Status Flags IF: Interrupt enable flag DF: Direction flag TF: Trap flag CF: Carry flag PF: Parity flag AF: Auxiliary carry flag ZF: Zero flag SF: Sign flag OF: Overflow flag

BIU BIU (bus interface unit) sends out addresses, fetches instructions from memory, reads data from ports and memory, and writes data to ports and memory. In other words, the BIU handles all transfers of data and addresses on the buses for the execution unit.

Memory Segmentation A segment is a 64KB block of memory starting from any 16-byte boundary For example: 00000, 00010, 00020, 20000, 8CE90, and E0840 are all valid segment addresses Segment registers in BIU CS SS DS ES Code Segment Data Segment Stack Segment Extra Segment 15 Offset is IP Offset are Bx, SI, and DI Offset is Bp, and Sp Offset is DI

Generating Memory Addresses How can a 16-bit microprocessor generate 20-bit memory addresses? Segment (64K) 0000 + 16-bit register 20-bit memory address 00000 FFFFF Left shift 4 bits Intel 80x86 memory address generation 1M memory space Offset address Addr1 Addr1 + 0FFFF

Memory Address Calculation Segment addresses must be stored in segment registers Offset is derived from the combination of pointer registers, the Instruction Pointer (IP), and immediate values 0000 + Segment address Offset Memory address Examples 3 4 8 A 2 1 B CS IP Instruction address 5 F E SS SP Stack address 6 DS DI Data address

Fetching Instructions Where to fetch the next instruction? CS IP 1 2 3 4 0 0 1 2 1 2 3 5 2 12352 MOV AL, 0 8086 Memory Update IP After an instruction is fetched, Register IP is updated as follows: IP = IP + Length of the fetched instruction For Example: the length of MOV AL, 0 is 2 bytes. After fetching this instruction, the IP is updated to 0014

Instruction Machine Codes Instruction machine codes are binary numbers For Example: 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 MOV AL,04 MOV Machine code structure Opcode Operand1 Opcode tells what operation is to be performed. (EU control logic generates ALU control signals according to Opcode) Register mode Mode Operand2 Mode indicates the type of a instruction: Register type, or Memory type