1the intel microprocessors

Upload: samir2010

Post on 07-Jul-2018

223 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/19/2019 1The Intel Microprocessors

    1/48

     

    The Intel

    Microprocessors

    --from 8086 to PentiumArchitecture, Programmingand Interfacing

  • 8/19/2019 1The Intel Microprocessors

    2/48

     

    •Content•Arrangement

    •Reference boo •!inal score

  • 8/19/2019 1The Intel Microprocessors

    3/48

     

    1. Architecture

    2. Programming

    3. Interfacing

  • 8/19/2019 1The Intel Microprocessors

    4/48

     

    CPU

    1. Architecture

    2. Programming

    Memory

    Printer

    I/O

    3. Interf 

    acing

  • 8/19/2019 1The Intel Microprocessors

    5/48

     

    "# Architecture

    •"#" The architecture ofCP$

    •"#% Addressing modes

  • 8/19/2019 1The Intel Microprocessors

    6/48

     

    Internal MicroprocessorArchitecture  AH (AX) AL

    BH (BX) BL

    CH (CX) CL

    DH (DX) DL  SP

      BP

      DI

      SI

    EAX

    EBX

    ECX

    EDX

    EP

    EBP

    EDI

    EI

    Accumu!atorBa"e in#e$

    Count

    Data

    tac% &ointer

    Ba"e &ointer

    De"tinationin#e$

    ource in#e$

    D' 

    P' 

    I' 

  • 8/19/2019 1The Intel Microprocessors

    7/48

     

    Internal MicroprocessorArchitecture

      IP

      FLAGS

    EIP

    E()A*

    In"truction &ointer

    (!ag"

    CS

      DS

      ES

      SS

      FS

      GS

    Co#e

    Data

    E$tra

    tac%

    &ecia! &ur&o"e regi"ter"

    egment regi"ter"

  • 8/19/2019 1The Intel Microprocessors

    8/48

     

    1. Architecture

    2. Programming

    3. Interfacing

  • 8/19/2019 1The Intel Microprocessors

    9/48

     

    %# Programming

    • %#" &ata mo'ementinstructions

    • %#% Arithmetic and logicinstructions

    • %#( Program controlinstructions

  • 8/19/2019 1The Intel Microprocessors

    10/48

     

    program

    • .DATA

    • NUM DB 34H•  TABLE DW 0012H,0033H,5687H• .CODE• .STARTUP

    • MOV BX,OSET TABLE• MOV AX,!BX"4#• MOV CX,88H• MUL CX• CMP AX,2000H

    •  $AE NEXT• OUT AX,P8• .EX%T• END

  • 8/19/2019 1The Intel Microprocessors

    11/48

     

    A&&!ication !anguage"

    /a&&!ication &rogram

    +igh,!e-e! !anguage"

    /com&i!er inter&retati-e &rogram

    A""em!y !anguage/ a""em!y &rogram

    0eyoar# comman# an# "y"tem &rimiti-e

    / o&erating "y"tem

    Machine in"truction "y"tem/ CPU

  • 8/19/2019 1The Intel Microprocessors

    12/48

     

    1. Architecture

    2. Programming

    3. Interfacing

  • 8/19/2019 1The Intel Microprocessors

    13/48

     

    (# Interfacing

    • "  8088)8086 hard*arespeci+cations

    • %  Memor interface

    • (  asic I). interface• /  Interrupts

    • &irect memor access and

    &MA-controlled I).

  • 8/19/2019 1The Intel Microprocessors

    14/48

     

    8088 &'()*'(+ -+/'/

  • 8/19/2019 1The Intel Microprocessors

    15/48

     

    M+( /+('+

  • 8/19/2019 1The Intel Microprocessors

    16/48

     

    •Content•Arrangement

    •Reference boo •!inal score

  • 8/19/2019 1The Intel Microprocessors

    17/48

     

    re1uest

    •!amiliar *ith

    •Addressing mode

    • programming *ithassembl language

    • interfacing of

    microprocessor

  • 8/19/2019 1The Intel Microprocessors

    18/48

     

    2hat *e can do

    after learning this• Programming in assembl

    language in certain real-time

    sstem ,memor limitedsstem or embedded sstem

    • &esign interfacing and *ritingdri'ers

  • 8/19/2019 1The Intel Microprocessors

    19/48

     

    •Content•Arrangement

    •Reference boo •!inal score

  • 8/19/2019 1The Intel Microprocessors

    20/48

     

    Reference oos

    • 微型计算机原理及应用

     

    周明德 编著 清华大学出版社

    • IM-PC汇编语言程序设计

    沈美明主编清华大学出版社• 汇编语言!微机原理"程

    #$%主编&'()出版社

    • The 80386 IM PC and CompatibleComputers 45olumes I II7 Assembl9anguage, &esign, and Interfacing 4/th:dition7

     清华大学出版社

  • 8/19/2019 1The Intel Microprocessors

    21/48

     

    R++(++ L+

    • O-+('/ + *+,-• C-9+( '(&/+9(+ 计算机.,/0

  • 8/19/2019 1The Intel Microprocessors

    22/48

     

    •Content•Arrangement

    •Reference boo •!inal score

  • 8/19/2019 1The Intel Microprocessors

    23/48

     

    •!inal :3am ;0<•Middle :3am%0<

    •=ome*or Attendance"0<

    • This ma be re'ised according to the needs#

  • 8/19/2019 1The Intel Microprocessors

    24/48

     

    >o* let?s begin our

    e3ploration in microprocessor#

  • 8/19/2019 1The Intel Microprocessors

    25/48

     

    Chapter "

    Introduction to TheMicroprocessor and PC

  • 8/19/2019 1The Intel Microprocessors

    26/48

     

    Chapter "

    "# 2hat manind has done beforethe microprocessor +nallcame out@

    %# =o* man parts are there inthe microprocessor @

  • 8/19/2019 1The Intel Microprocessors

    27/48

     

    Chapter "

    Introduction to TheMicroprocessor and PC

    • "#" A =istorical acground• "#% PC ased on Microprocesso

    r

  • 8/19/2019 1The Intel Microprocessors

    28/48

     

    "#" A =istorical acground

  • 8/19/2019 1The Intel Microprocessors

    29/48

     

    "#" A =istorical acground

    • A. T&+ M+&'/': A+

    ; A

  • 8/19/2019 1The Intel Microprocessors

    30/48

     

    "#" A =istorical acground

    • B. T&+ E:+(/': A+; M(?)(/@+ '))/ '&/+,

    ; T&+ ( ++(':?-9(-+, -((''

  • 8/19/2019 1The Intel Microprocessors

    31/48

     

    • EN%AC• E:+(/ N9+(/': %+('(

    A) C':9:'( !C-9+(# &'1

    234计算机

  • 8/19/2019 1The Intel Microprocessors

    32/48

     

    EN%AC

  • 8/19/2019 1The Intel Microprocessors

    33/48

     

    EN%AC

  • 8/19/2019 1The Intel Microprocessors

    34/48

     

    EN%AC

  • 8/19/2019 1The Intel Microprocessors

    35/48

     

    Intel /00/

  • 8/19/2019 1The Intel Microprocessors

    36/48

     

    Intel 8088

  • 8/19/2019 1The Intel Microprocessors

    37/48

     

    Intel Petium

  • 8/19/2019 1The Intel Microprocessors

    38/48

     

    %+: P+/9 %%

  • 8/19/2019 1The Intel Microprocessors

    39/48

     

    The Moore?s 9a* &+ 9

  • 8/19/2019 1The Intel Microprocessors

    40/48

     

    "#" A =istorical acground

    • The !uture ofMicroprocessors

    ; The process speed *ill get more

    faster; The memor *ill get more large

    ; The bul *ill get more smaller

    ; The *idth of data bus *ill increase

    ; Architecture *ill get more ecient

  • 8/19/2019 1The Intel Microprocessors

    41/48

     

    "#% PC ased on

    Microprocessor

  • 8/19/2019 1The Intel Microprocessors

    42/48

     

    "#% PC ased onMicroprocessor

    • Buestion % *+ 9+ ' -9+( 9(+ 9 ' '(/&+/+-(+/, &* ' / /& &/

    *(FG

    • 13333"4414

  • 8/19/2019 1The Intel Microprocessors

    43/48

     

    "#% PC ased onMicroprocessor

    • 13333"4414; /( /-9 &++ 9

  • 8/19/2019 1The Intel Microprocessors

    44/48

     

    "#% PC ased onMicroprocessor

    • 13333"4414In&ut

    #e-ice

    memory

    ca!cu!ator

    Out&ut

    #e-ice

    contro!!er

    Contro! u"

    #ata u"

  • 8/19/2019 1The Intel Microprocessors

    45/48

     

    "#% PC ased onMicroprocessor

    Micro,

    &roce""or

    Memory

    Interface

    E$terna!#e-ice"

    Data u"

    A##re""

    u"

    Contro!

    u" BU #efinition &2

  • 8/19/2019 1The Intel Microprocessors

    46/48

     

    "#% PC ased onMicroprocessor

    • B9I P25; Address bus (+J9+ ' +(

    :'/ ( &+ +( ( ' %KO:'/ ( &+ %KO )+@/+.

    ; &ata bus ('+( /('/

  • 8/19/2019 1The Intel Microprocessors

    47/48

     

    "#% PC ased onMicroprocessor

  • 8/19/2019 1The Intel Microprocessors

    48/48

     

    "#% PC ased on

    MicroprocessorA. R+:'/&/- /9(+  /(-(+( ALU

      (::+(

      PC (+/+(

      /+(': +(  %KO /+('+

    PC + %KO D+@/+ ++(': +(

    + *'(+

    '--:/'/ *'(+-*+(5 -'+:5 - ('+, +