Introduction
Introduction
• Computing
• Advances in decimal number systems and mathematical notations eventually lead to the
formulation of mathematical operations such as addition, subtraction, etc.
• The concept of programmable computers in 1820: Charles Babbage (English
mechanical engineer)
• A machine can do mathematical operations by hardware; the mathematical operations
and the sequence in which they are worked out is controlled by a program (software).
http://s3-ap-southeast-1.amazonaws.com/articles-data/1498213307.png
Information Representation in
Computer Systems
• Information is represented in a binary form for reliability
• Decimal Representation
Up to 31 digits + sign
• ASCII/EBCDIC
• Packed Decimal
• Zoned Format
Zone + digit
Organization of Computer Systems
• CPU CPU MM
• Main Memory
• Device Controller
Bus
• Device
I/O I/O
DC Interface Interface
D D
Building Blocks of
Processor Systems
MEM ORY
INPUT-OUTPUT
CONTROL
DATAPATH
CPU
Processor System Architecture
The typical processor system consists of:
CPU (central processing unit)
ALU (arithmetic-logic unit)
Control Logic
Registers, etc…
Memory
Input / Output interfaces
• High-level language: a = b + c
• Assembly language: add r1 r2 r3
• Machine language: 0001001010111010101
Architecture of Computer
• Von Neumann
• Harvard
Harvard vs. Von-Neumann
I/O CPU Memory
Progra Data
m CPU
memory
memory
Single shared Bus
• Superscalar CPU
• Bus Interface Unit
• Prefetch unit and instruction queue
• Decoding unit(s)
• Instruction Cache (I cache)
• Data Cache (D cache)
• Branch Target Cache (BTC)
• Control unit
• Memory management unit
• Integer operation units
• Floating-point operations units
• Special functional units
RISC and CISC
CISC RISC
1 Control unit is hardwired and Control Unit is hardwired only
microprogrammed
2 Complex multiclock instruction Simple signle clock instructions
3 Memory reference instruction Register reference instructions
except LOAD and STORE
memory reference instructions
4 Less registers in CPU More in CPU
5 Maximum memory addressing Minimum memory addressing
modes modes
6 Small code sizes Large code sizes
7 Variable instruction length Fixed instruction length
Development in Electronics
100,000,000
Pentium 4
PentiumIII
10,000,000 PentiumII
PentiumPro
Transistors
Pentium
Intel486
1,000,000
Intel386
100,000
80286
Integration Levels
8086
10,000 8080 SSI: 10 gates
8008
4004
1,000 MSI: 1000 gates
LSI: 10,000 gates
1970 1975 1980 1985 1990 1995 2000
Generation of Microprocessors
Microprocessor
• A microprocessor is a computer processor which incorporates the
functions of a computer's central processing unit (CPU) on a single
integrated circuit (IC), or at most a few integrated circuits
• 4-bit microprocessor
• 4 KB main memory
• 45 instructions
• PMOS technology
• was first programmable device which was used in
calculators
INTEL 8008 (1972)
• 8-bit microprocessor
• 64 KB main memory
• 2 microseconds clock cycle time
• 500,000 instructions/sec
• 10X faster than 8008
• NMOS technology
• Drawback was that it needed three power supplies
• Small computers (Microcomputers) were designed in mid 1970’s
Using 8080 as CPU.
INTEL 8086/8088