1 x86 Programming Model Microprocessor Computer Architectures Lab Components of any Computer System Control – logic that controls fetching/execution of.

Slides:



Advertisements
Similar presentations
Intel 8086.
Advertisements

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.
Computer Architecture and Operating Systems CS 3230 :Assembly Section Lecture 2 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
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
SOFTWARE ARCHITECTURE OF THE 8088 AND 8086 MICROPROCESSORS
CEN 226: Computer Organization & Assembly Language :CSC 225 (Lec#3) By Dr. Syed Noman.
Princess Sumaya Univ. Computer Engineering Dept. د. بســام كحـالــه Dr. Bassam Kahhaleh.
Azir ALIU 1 What is an assembly language?. Azir ALIU 2 Inside the CPU.
Princess Sumaya University
1 Hardware and Software Architecture Chapter 2 n The Intel Processor Architecture n History of PC Memory Usage (Real Mode)
3-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL Intel 8088 (8086) Microprocessor.
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.
Computer Organization & Assembly Language
An Introduction to 8086 Microprocessor.
The Pentium Processor.
The Pentium Processor Chapter 3 S. Dandamudi To be used with S. Dandamudi, “Introduction to Assembly Language Programming,” Second Edition, Springer,
The Pentium Processor Chapter 3 S. Dandamudi.
1 Fundamental of Computer Suthida Chaichomchuen : SCC
Types of Registers (8086 Microprocessor Based)
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.
Computers organization & Assembly Language Chapter 1 THE 80x86 MICROPROCESSOR.
Intel 8086 (8088) Microprocessor Structure
INTRODUCTION TO INTEL X-86 FAMILY
University of Sargodha, Lahore Campus Prepared by Ali Saeed.
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.
Intel 8086 MICROPROCESSOR ARCHITECTURE
Computer Organization & Assembly Language University of Sargodha, Lahore Campus Prepared by Ali Saeed.
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
I NTEL 8086 M icroprocessor بسم الله الرحمن الرحيم 1.
Computer Science 516 Intel x86 Overview. Intel x86 Family Eight-bit 8080, 8085 – 1970s 16-bit 8086 – was internally 16 bits, externally 8 bits.
Μ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.
Part of the Assembler Language Programmers Toolbox
Microprocessor and Assembly Language
History – 2 Intel 8086.
UNIT Architecture M.Brindha AP/EIE
Introduction to 8086 Microprocessor
8086 Microprocessor.
Computer Organization & Assembly Language Chapter 3
Intel 8086 MICROPROCESSOR Architecture.
University of Gujrat Department of Computer Science
Intel 8088 (8086) Microprocessor Structure
1st micro 1971 calculator 2300 transistors 4-bit microprocessor
Homework Reading Continue work on mp1
Basic of Computer Organization
Microcomputer & Interfacing Lecture 1
Introduction to 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
Computer Architecture CST 250
Unit-I 80386DX Architecture
Process.
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.
Presentation transcript:

1 x86 Programming Model Microprocessor Computer Architectures Lab Components of any Computer System Control – logic that controls fetching/execution of instructions Memory – area where instructions/data are stored Input/Output – external interaction with computer ControlControl Memory Address bus Data bus Input/Output devices

2 x86 Programming Model Microprocessor Computer Architectures Lab Processor Architecture Components Registers : used for storing data values and addresses Execution units: perform computations (arithmetic, logic) on data –ALU: Arithmetic Logic Unit Control: logic for fetching, executing instructions Memory: stores instruction and data Input/Output: external interface with computer system

3 x86 Programming Model Microprocessor Computer Architectures Lab Processor Integration Early computers had many separate chips for the different portions of a computer system Registers ALU Control Memory

4 x86 Programming Model Microprocessor Computer Architectures Lab Microprocessors First microprocessors placed control, registers, arithmetic logic unit in one integrated circuit (one chip). I/O Devices Memory CPU (ALU + Reg + control) Data Bus Address Bus Control Bus CPU – Central Processing Unit

5 x86 Programming Model Microprocessor Computer Architectures Lab Modern  Processors Modern microprocessors (general purpose  Processors) also integrate memory onchip for faster access. External memory and I/O components still required. Memory integrated on the microprocessor is called cache memory. I/O Devices Memory Data Bus Address Bus Control Bus Registers, ALU, Fetch, Exe Logic, Bus logic, Cache Memory CPU

6 x86 Programming Model Microprocessor Computer Architectures Lab Microcontrollers Microcontrollers integrate all of the components (control, memory, I/O) of a computer system into one integrated circuit. Microcontrollers are intended to be single chip solutions for systems requiring low to moderate processing power. Microcontroller

7 x86 Programming Model Microprocessor Computer Architectures Lab Intel x86 Processors In this course will study the Intel x86 general purpose microprocessor family –Instruction set architecture –Assembly language programming –Hardware features of different x86 implementations –Other features of microprocessor systems

8 x86 Programming Model Microprocessor Computer Architectures Lab ISA vs Implementation Instruction Set Architecture (ISA) : the definition of the registers and instructions that define the programmer’s view of a processor Can have different implementations of the same ISA –Intel and AMD processors both execute the x86 ISA, but internally are very different!! –Intel has several different implementations of the x86 ISA! New versions of an ISA extend the previous version by adding instructions, registers – but never invalidate the old ISA

9 x86 Programming Model Microprocessor Computer Architectures Lab Intel x86 Microprocessors bit Addr. Bus - 1MB of Memory Addr. Bus - Added Protection Mode bit regs/busses - Virtual 86 Mode RISC Core - L1 Cache - FPU Pentium - Superscalar - Dual Pipeline - Split L1 Cache Pentium Pro - L2 Cache - Branch Pred. - Speculative Exec. Pentium MMX - 57 Instructions - Integrated DSP (MMX) Pentium II MHz Bus - L2 Cache - MMX Celeron - 66 MHz Bus - True L2 Cache Integration Pentium III MHz Bus - 70 Internet Streaming SIMD Ext.

10 x86 Programming Model Microprocessor Computer Architectures Lab 8086/8088 Register File CS DS SS ES AH BH CH DH AL BL CL DL IP SP BP SI DI Accumulator Base Counter Data Code Segment Data Segment Stack Segment Extra Segment Instruction Pointer Stack Pointer Base Pointer Source Index Destination Index } } } AX BX CX DX

11 x86 Programming Model Microprocessor Computer Architectures Lab 8086/8088 Register File (cont) Flags Register xxxxOFDFIFTFSFZFxAFxPFxCF 015 Status and Control Bits Maintained in Flags Register – Generally Set and Tested Individually – 9 1-bit flags in 8086; 7 are unused

12 x86 Programming Model Microprocessor Computer Architectures Lab Status Flags CFCarry FlagArithmetic Carry/Borrow OFOverflow FlagArithmetic Overflow ZFZero FlagZero Result; Equal Compare SFSign FlagNegative Result; Non-Equal Compare PFParity FlagEven Number of “1” bits AFAuxiliary CarryUsed with BCD Arithmetic Indicate Current Processor Status

13 x86 Programming Model Microprocessor Computer Architectures Lab Control Flags DFDirection FlagAuto-Increment/Decrement –used for “string operations” IFInterrupt FlagEnables Interrupts –allows “fetch-execute” to be interrupted TFTrap FlagAllows Single-Step –for debugging; causes interrupt after each op Influence the 8086 During Execution Phase

14 x86 Programming Model Microprocessor Computer Architectures Lab 8086/8088 Register File (cont) 015 IP Contains Address of NEXT Instruction to be Fetched – Automatically Incremented – Programmer can control with jump and branch Instruction Pointer Register

15 x86 Programming Model Microprocessor Computer Architectures Lab AX, BX, CX, DX Can Be Used Separately as 1-byte Registers AX = AH:AL Temporary Storage to Avoid Memory Access –Faster Execution –Avoids Memory Access Some Special uses for Certain Instructions AH BH CH DH AL BL CL DL 0707 Accumulator Base Counter Data General Purpose Registers AX BX CX DX

16 x86 Programming Model Microprocessor Computer Architectures Lab AX, BX, CX, DX - Some Specialized Uses AX, Accumulator Main Register for Performing Arithmetic mult/div must use AH, AL “accumulator” Means Register with Simple ALU BX, Base Point to Translation Table in Memory Holds Memory Offsets; Function Calls CX, Counter Index Counter for Loop Control DX, Data After Integer Division Execution - Holds Remainder AH BH CH DH AL BL CL DL 0707 Accumulator Base Counter Data AX BX CX DX

17 x86 Programming Model Microprocessor Computer Architectures Lab CS, DS, ES, SS - Segment Registers CS, Code Segment Used to “point” to Instructions Determines a Memory Address (along with IP) Segmented Address written as CS:IP DS, Data Segment Used to “point” to Data Determines Memory Address (along with other registers) ES, Extra Segment allows 2 Data Address Registers SS, Stack Segment Used to “point” to Data in Stack Structure (LIFO) Used with SP or BP SS:SP or SS:BP are valid Segmented Addresses Contains “Base Value” for Memory Address

18 x86 Programming Model Microprocessor Computer Architectures Lab IP, SP, BP, SI, DI - Offset Registers IP, Instruction Pointer Used to “point” to Instructions Determines a Memory Address (along with CS) Segmented Address written as CS:IP SI, Source Index;DI, Destination Index Used to “point” to Data Determines Memory Address (along with other registers) DS, ES commonly used SP, Stack Pointer;BP, Base Pointer Used to “point” to Data in Stack Structure (LIFO) Used with SS SS:SP or SS:BP are valid Segmented Addresses These can also be used as General Registers !!!!!! Contains “Index Value” for Memory Address

19 x86 Programming Model Microprocessor Computer Architectures Lab Register Set Note how registers were extended from 16 bits to 32 bits in width. Register EAX refers to the entire 32-bit register.