+ All Categories
Home > Documents > The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

Date post: 04-Jan-2016
Category:
Upload: regan-conway
View: 72 times
Download: 1 times
Share this document with a friend
Description:
The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing. Content Arrangement Reference book Final score. 1. Architecture. 2. Programming. 3. Interfacing. Memory. Printer. I/O. CPU 1. Architecture. 3. Interfacing. 2. Programming. 1. Architecture. - PowerPoint PPT Presentation
Popular Tags:
48
The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing
Transcript
Page 1: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

The Intel Microprocessors

--from 8086 to Pentium Architecture, Programming and Interfacing

Page 2: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

•Content•Arrangement •Reference book•Final score

Page 3: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

1. Architecture

2. Programming

3. Interfacing

Page 4: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

CPU

1. Architecture

2. Programming

Memory

Printer

I/O

3. Interfacing

Page 5: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

1. Architecture

•1.1 The architecture of CPU

•1.2 Addressing modes

Page 6: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

Internal Microprocessor Architecture AH (AX) AL

BH (BX) BL

CH (CX) CL

DH (DX) DL

SP

BP

DI

SI

EAX

EBX

ECX

EDX

ESP

EBP

EDI

ESI

Accumulator

Base index

Count

Data

Stack pointer

Base pointer

Destination index

Source index

DR

PR

IR

zuohang
zuohang2003-9-1If the name contains two capitals that means the register is 2 bytes.three capitals means 4 bytes. E** is used in 80386 and aboveHere we always discuss the 8086 and 8088.
Page 7: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

Internal Microprocessor Architecture

IP

FLAGS

EIP

EFLAGS

Instruction pointer

Flags

CS

DS

ES

SS

FS

GS

Code

Data

Extra

Stack

Special purpose registers

Segment registers

Page 8: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

1. Architecture

2. Programming

3. Interfacing

Page 9: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

2. Programming

• 2.1 Data movement instructions

• 2.2 Arithmetic and logic instructions

• 2.3 Program control instructions

Page 10: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

program• .DATA • NUM DB 34H• TABLE DW 0012H,0033H,5687H• .CODE• .STARTUP• MOV BX,OFFSET TABLE• MOV AX,[BX+4]• MOV CX,88H• MUL CX• CMP AX,2000H• JAE NEXT• OUT AX,P8• .EXIT• END

Page 11: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

Application languages/application program

High-level languages/compiler &interpretative program

Assembly language/ assembly program

Keyboard command and system primitive/ operating system

Machine instruction system/ CPU

Page 12: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

1. Architecture

2. Programming

3. Interfacing

Page 13: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

3. Interfacing

• 1 8088/8086 hardware specifications

• 2 Memory interface• 3 Basic I/O interface• 4 Interrupts• 5 Direct memory access and

DMA-controlled I/O

Page 14: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

8088 hardware specifications

Page 15: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

Memory interface

Page 16: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

•Content•Arrangement •Reference book•Final score

Page 17: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

request

•Familiar with•Addressing mode• programming with assembly language

• interfacing of microprocessor

Page 18: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

What we can do after learning this

• Programming in assembly language in certain real-time system ,memory limited system or embedded system

• Design interfacing and writing drivers

Page 19: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

•Content•Arrangement •Reference book•Final score

Page 20: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

Reference Books

• 微型计算机原理及应用»周明德 编著 清华大学出版社

• IBM-PC 汇编语言程序设计»沈美明主编,清华大学出版社

• 汇编语言与微机原理教程»顾元刚主编,电子工业出版社

• The 80x86 IBM PC and Compatible Computers (Volumes I & II): Assembly Language, Design, and Interfacing (4th Edition)

» 清华大学出版社

Page 21: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

Reference Lessons

• Operating system 操作系统• Computer architecture 计算机体系结

Page 22: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

•Content•Arrangement •Reference book•Final score

Page 23: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

•Final Exam: 70%•Middle Exam:20%•Homework & Attendance:10%

• This may be revised according to the needs.

Page 24: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

Now let’s begin our exploration

in microprocessor.

Page 25: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

Chapter 1 Introduction to The

Microprocessor and PC

Page 26: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

Chapter 1:

1. What mankind has done before the microprocessor finally came out?

2. How many parts are there in the microprocessor ?

Page 27: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

Chapter 1:Introduction to The Microprocessor and PC

• 1.1 A Historical Background• 1.2 PC Based on Microprocessor

Page 28: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

1.1 A Historical Background

Page 29: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

1.1 A Historical Background

• A. The Mechanical Age– Abacus (Babylonians)– Analytical engine (Babbage, punched

cards, 1823,failure)

Page 30: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

1.1 A Historical Background

• B. The Electrical Age– Motor-driven adding machines, based on mech

anical calculator (Hollerith, set up IBM-International Business Machines Corporation)

– First electronic calculating machine Z3 (German, Konrad Zuse,1942)

– The first general-purpose, programmable electronic computer ENIAC (University of Pennsylvania, 1946)

Page 31: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

• ENIAC• Electronic Numerical Integrator And C

alculator [Computer] 电子数字积分计算机

Page 32: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

ENIAC

Page 33: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

ENIAC

Page 34: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

ENIAC

Page 35: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

Intel 4004

Page 36: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

Intel 8088

Page 37: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

Intel Petium

Page 38: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

Intel Petium II

Page 39: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

The Moore’s Law: the number of transistors integrated in a chip will double very 18 or 24 mouths

Page 40: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

1.1 A Historical Background

• D. The Future of Microprocessors

– The process speed will get more faster

– The memory will get more large

– The bulk will get more smaller

– The width of data bus will increase

– Architecture will get more efficient

Page 41: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

1.2 PC Based on Microprocessor

Page 42: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

1.2 PC Based on Microprocessor

• Question: If we use a computer to figure out an arithmetic expression, how can it finish this work?

• 133*33+44*14

Page 43: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

1.2 PC Based on Microprocessor

• 133*33+44*14– First input these numbers.– Do the calculating work.– Store The result – Output the result.

• Control this processing.

Page 44: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

1.2 PC Based on Microprocessor

• 133*33+44*14Input device

memory

calculator

Outputdevice

controller

Control bus

data bus

Page 45: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

1.2 PC Based on Microprocessor

Micro-processor

Memory

Interface

Externaldevices

Data bus

Address bus

Control bus

BUS definition p25

Page 46: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

1.2 PC Based on Microprocessor

• Bus: P25– Address bus requests a memory

location from the memory or an I/O location from the I/O devices.

– Data bus transfers information between the microprocessor and its memory and I/O address space.

– Control bus contains lines that select the memory or I/O and cause them to perform a read or write operation.

Page 47: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

1.2 PC Based on Microprocessor

Page 48: The Intel Microprocessors --from 8086 to Pentium Architecture, Programming and Interfacing

1.2 PC Based on MicroprocessorA. Relationship Figure

microprocessor ALU controller

PC register internal memory I/O interface

PC system I/O Devices & external memorysystem softwareapplication softwarepower 、 panel 、 pc frame, etc


Recommended