3-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL 62901 Intel 8088 (8086) Microprocessor.

Slides:



Advertisements
Similar presentations
Intel 8086.
Advertisements

Block Diagram of Intel 8086 Engr.M.Zakir Shaikh
Registers of the 8086/ /2002 JNM.
Chapter 2 (cont.) An Introduction to the 80x86 Microprocessor Family Objectives: The different addressing modes and instruction types available The usefulness.
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
Introduction to Microprocessor
CEN 226: Computer Organization & Assembly Language :CSC 225 (Lec#3) By Dr. Syed Noman.
6-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL Intel 8088 Addressing modes.
1 Hardware and Software Architecture Chapter 2 n The Intel Processor Architecture n History of PC Memory Usage (Real Mode)
Interrupt Processing Haibo Wang ECE Department
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.
MICROPROCESSORS AND APPLICATIONS
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)
UHD:CS2401: A. Berrached1 The Intel x86 Hardware Organization.
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.
Block diagram of 8086.
Intel 8086 (8088) Microprocessor Structure
6-4 CPU-Registers, effective address General registers vs Segment registers Computer Studies (AL)
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.
Intel MP Organization. Registers - storage locations found inside the processor for temporary storage of data 1- Data Registers (16-bit) AX, BX, CX, DX.
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.
Chapter 12 Processor Structure and Function. Central Processing Unit CPU architecture, Register organization, Instruction formats and addressing modes(Intel.
An Introduction to 8086 Microprocessor.
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.
University of Gujrat Department of Computer Science
Intel 8088 (8086) Microprocessor Structure
Basic of Computer Organization
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)
Introduction to Assembly Language
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
Morgan Kaufmann Publishers Computer Organization and Assembly Language
CS 301 Fall 2002 Computer Organization
The Microprocessor & Its Architecture
Lecture 06 Programming language.
Unit-I 80386DX Architecture
Intel 8086.
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.
Part I Data Representation and 8086 Microprocessors
Microprocessor Lecture 7 (8086 Registers).
Presentation transcript:

3-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL Intel 8088 (8086) Microprocessor Structure

3-2 Overview  Intel 8088 facts 8088 VDD (5V) GND CLK 20-bit address 8-bit data   control signals To 8088 control signals from signal classification  20 bit address bus allow accessing 1 M memory locations  16-bit internal data bus and 8-bit external data bus. Thus, it need two read (or write) operations to read (or write) a 16-bit datum  Byte addressable and byte-swapping Memory locations 5A 2F Low byte of word High byte of word Word: 5A2F

3-3 Organization of 8088 AHAL BHBL CHCL DHDL SP BP SI DI ALU Flag register Execution Unit (EU) EU control  CS DS SS ESALU Data bus (16 bits) Address bus (20 bits) Instruction Queue Bus control External bus IP Data bus (16 bits) Bus Interface Unit (BIU) General purpose register Segment register

3-4 General Purpose Registers AX BX CX DX AHAL BHBL CHCL DHDL Accumulator Base Counter Data SP BP SI DI Data Group Pointer and Index Group Stack Pointer Base Pointer Source Index Destination Index

3-5 Arithmetic Logic Unit (ALU) n bits AB Y F Carry Y= 0 ? A > B ? F Y A + B 0 0 1A - B 0 1 0A A and B 1 0 0A or B 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-6 Flag Register  NTIOPLOFDFIFTFZFSF  AFPFCF  015  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 NT:Nested task flag IOPL:Input/output privilege level  Flag register contains information reflecting the current status of a microprocessor. It also contains information which controls the operation of the microprocessor.

3-7 Instruction Machine Codes  Instruction machine codes are binary numbers  For Example: MOV AL, BL MOV  Machine code structure OpcodeOperand1  Opcode tells what operation is to be performed. (EU control logic generates ALU control signals according to Opcode)  Some instructions do not have operands, or have only one operand  Operands tell what data should be used in the operation. Operands can be addresses telling where to get data (or where to store results) Register mode ModeOperand2  Mode indicates the type of a instruction: Register type, or Memory type

3-8 EU Operation ALU Data bus (16 bits) AHAL BHBL CHCL DHDL SP BP SI DI General purpose register ALU Flag register EU control instruction Fetch an instruction from instruction queue 2. According to the instruction, EU control logic generates control signals. ( This process is also referred to as instruction decoding) 3. Depending on the control signal, EU performs one of the following operations:  An arithmetic operation  A logic operation  Storing a datum into a register  Moving a datum from a register  Changing flag register

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

3-10 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  The requirement of starting from 16-byte boundary is due to the 4-bit left shifting  Segment registers in BIU CS SS DS ES Code Segment Data Segment Stack Segment Extra Segment 015

3-11 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 Segment address Offset Memory address  Examples 348A AB43 CS IP+ Instruction address FFE0 FFE05 SS SP+ Stack address DS DI+ Data address

3-12 Fetching Instructions  Where to fetch the next instruction? CS IP MOV AL, 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

3-13 Accessing Data Memory  There is a number of methods to generate the memory address when accessing data memory. These methods are referred to as Addressing Modes  Examples: — Direct addressing: MOV AL, [0300H] DS Memory address (assume DS=1234H) — Register indirect addressing: MOV AL, [SI] DS Memory address (assume DS=1234H) (assume SI=0310H)

3-14 Reserved Memory Locations FFFFF FFFF0 003FF Reset instruction area Interrupt pointer table  Locations from 00000H to 003FFH are used for the interrupt pointer table  Locations from FFFF0H to FFFFFH are used for system reset code  Some memory locations are reserved for special purposes. Programs should not be loaded in these areas  It has 256 table entries  Each table entry is 4 bytes 256  4 = 1024 = memory addressing space From 00000H to 003FFH

3-15 Interrupts  An interrupt is an event that occurs while the processor is executing a program  The interrupt temporarily suspends execution of the program and switch the processor to executing a special routine (interrupt service routine)  When the execution of interrupt service routine is complete, the processor resumes the execution of the original program Hardware InterruptsSoftware Interrupts  Caused by activating the processor’s interrupt control signals (NMI, INTR)  Caused by the execution of an INT instruction  Caused by an event which is generated by the execution of a program, such as division by zero  Interrupt classification  8088 can have 256 interrupts

3-16 Minimum and Maximum Operation modes  Intel 8088 (8086) has two operation modes: Minimum Mode Maximum Mode  8088 generates control signals for memory and I/O operations  It needs 8288 bus controller to generate control signals for memory and I/O operations  Some functions are not available in minimum mode  It allows the use of 8087 coprocessor; it also provides other functions  Compatible with 8085-based systems