3
Course Contents
UNIT – I
Introduction
Architecture of 8086
UNIT – II
Address Modes
Data Movement Instructions and Assembler Detail
UNIT – III
Arithmetic & Logic Instructions, String Instructions & Program
Control Instructions
UNIT – IV
Modular Programming, Data Conversion & Hardware Features of
8086
UNIT – V
Interrupts
Arithmetic Coprocessor 8087
Bus Interface
The 80486 & Pentium Processors 4
Chapter 1
Introduction to the Microprocessor and
Computer
1-1 A historical Background
• The mechanical age
• The Electrical age
• The Microprocessor age
• The Modern Processor
Introduced 71 72 74 78 79
Instruction
50KIPS ---- 500KIPS 2.5 MIPs 2.5 MIPs
execution rate
No. of
2300 3500 6000 29000 29000
transistors
Addressable
4096 16 KB 64 KB 1 MB 1 MB
memory location
>20k >20k
Instruction set 45 48 —
cisc cisc
80286 80386 80486 Pentium 4
Introduced 82 85 89 2000
Instruction execution
rate 4MIPs 16-33MHz 50 MIPs 1.3-1.8 GHz
Addressable 16
4 gigabytes 4 gigabytes 64 gigabytes
memory location megabytes
>20k >20k
Instruction set >20k 64 terabytes
Types of Computers
• Mainframe
• Super Computer
• Mini Computer
• Micro Computer
Mainframe:
• The largest and most powerful computer
• They are designed to work at very high speed
• Large data words, typically 64 bits or greater
• They have massive amount of memory
• Used in military defense control, business data
processing, computer graphic display.
• Example: IBM 4381
Super Computer:
• The fastest and more powerful
mainframes are called Super Computer
• Example: Cray Y-MP/ 832
• Used by largest firms, government
agencies and universities
Mini Computer:
• Scaled-down versions of mainframe Computer
• Runs slowly, works with smaller data word
• Does not have as much memory as mainframe
• Used in scientific research and industrial
control
Micro Computer:
• Small computer
• CPU is usually a single
microprocessor
• Example: Desk top, Lap top, Palm
top
Compare between the 80486 through
Pentium 4 microprocessor.
8K 16K
L1 Cache L1 Cache
Pentium
80486DX
• 64k-byte page
frame (usually
D0000~DFFFFH) :
expand memory system
by switching in pages of
memory from EMS
into this range of
memory address
Basic Language on ROM (E0000H – EFFFFH)
• Free
• Filled by extra RAM
• Length is 4K
BIOS ROM(F0000H – FFFFFH)
• Length- 64k
• Controls operation of the basic i/o devices
connected to computer system
I/O space
Fig. I/O map of a PC
• I/O space : allows
computer to access up to
64K different 8-bit I/O
devices
• I/O port address:
addresses an I/O device
• I/O devices : allow
microprocessor to
communicate between
itself and outside world
• Two major section
– ~03FFH : reserved for
system devices
• ~00FFH : components
on main board
• 0100~03FFH : devices
located on plug-in
cards
– 0400F~FFFFH : for
user
The Microprocessor
• Called the CPU (central processing unit).
• The controlling element in a computer system.
• Controls memory and I/O through connections
called buses.
– buses select an I/O or memory device, transfer data
between I/O devices or memory and the
microprocessor, control I/O and memory systems
• Memory and I/O controlled via instructions stored
in memory, executed by the microprocessor.
• Bit:
– smallest unit of information
– It represents either 1 or 0
• Byte:
– 8 – bits of data
• Word:
– Data that is handled by a microprocessor at a
time
– Ex: 8 bit, 16 bit, 32 bit word
The Intel Microprocessors: 8086/8088, 80186/80188, 80286, 80386, 80486 Pentium,
Pentium Pro Processor, Pentium II, Pentium, 4, and Core2 with 64-bit Extensions Copyright ©2009 by Pearson Education, Inc.
Architecture, Programming, and Interfacing, Eighth Edition Upper Saddle River, New Jersey 07458 • All rights reserved.
Barry B. Brey
Unsigned And Signed Binary
Integers
• An unsigned binary integer has no arithmetic
sign
• Example of unsigned integer is memory
address
• Signed integer is represented in true form for
a positive number and in two’s complement
form for a negative number