Lec 1 Intro To MP
Lec 1 Intro To MP
MICROPROCESSOR
OUTLINES
Block diagram of a computer system
Basic components of a computer system using block diagrams:
Cpu
Memory
Input and output unit
Evolution of microprocessor : 4,8,16,32 dan 64 byte
Nibble, byte, word dan longword
Fecthing and execution cycles.
Internal structure and basic operation of a microprocessor
(arithmetic and logic unit, control unit, register sets, accumulator,
condition code register, program counter, stack pointer)
Bus system: data bus, address bus and control bus.
Microprocessor clock system
Examples of microprocessor: 8085,8086.
2
DIAGRAM OF A COMPUTER SYSTEM
A computer is a programmable machine that receives input, stores and manipulates
data//information, and provides output in a useful format.
Address bus
6
3. I/O Unit
Input/output (I/O), refers to the communication between an
information processing system (such as a computer), and the outside
world possibly a human, or another information processing system.
Inputs are the signals or data received by the system, and outputs are
the signals or data sent from it
Devices that provide input or output to the computer are called
peripherals
On a typical personal computer, peripherals include input devices like
the keyboard and mouse, and output devices such as the display and
printer. Hard disk drives, floppy disk drives and optical disc drives
serve as both input and output devices. Computer networking is another
form of I/O.
7
DATA SIZE
Nibble 4 bit
Byte 8 bit
Word 16 bit
8
INTERNAL STRUCTURE AND BASIC
OPERATION OF MICROPROCESSOR
Address bus
Register
ALU
Section
Data bus
10
INTERNAL STRUCTURE OF ALU
12
REGISTER SETS
13
REGISTER IN MOTOROLA 68000
MICROPROCESSOR
31 16 15 8 7 0
D0
D1
D2
D3 DATA REGISTERS
D4
D5
D6
D7
31 16 15 8 7 0
A0
A1
A2
A3 ADDRESS REGISTERS
A4
A5
A6
A7
PC PROGRAM CONTER 14
15 8 7 0
SYSTEM BYTE USER VYTE SR STATUS REGISTER
ACCUMULATOR
15
CONDITION CODE REGISTER (CCR) = FLAGS
16
Flag Name Description
17
PROGRAM COUNTER (PC)
18
STACK POINTER (SP)
20
ADDRESS BUS
21
CONTROL BUS
22
MICRO PROCESSOR CLOCK
23
EXAMPLES OF MICRO PROCESSOR
Intel 8086
Motorola 6800
Zilog Z80
24
REPORT 1 – 10 MARKS
Compare between:
Intel8086
Motorola 6800
Zilog Z80
According to:
Data bus Size
Address Bus Size
Register Set.
Clock Rate.
Basic System design.
25