Académique Documents
Professionnel Documents
Culture Documents
3/25/2013
Microprocessor
What is a p ?
An electronic chip - With on-chip memory locations (registers), to hold information
3/25/2013
Microprocessor
Little use unless interfaced with memory & other I/O devices Needs to be programmed
Program
- Sequence of instructions designed to perform a particular task
Software
- Set of programs written for a p based system
MICROPROCESSOR
Microprocessor
Power supply Input & output control lines Other control lines ALU Registers Control Unit Data lines Address lines
3/25/2013
Applications
Oscilloscope, spectrum analyzer Music equipments, synthesizers House hold items, oven, door bell, washing machine, TV Computers Medical equipments
Evolution..
1971 First p (Intel) Intel 4004
4 bit p Functions 4040 (Enhanced?)
A up in which most instruction operate upon n-bit data, is said to be a n bit up
8008
Mechatronics & Microprocessor VI Sem Automobile 8
3/25/2013
8 bit p
8080 8085 Improved version
Z80
F8 6809
Zilog
Fair Child Hitachi
Mechatronics & Microprocessor VI Sem Automobile 9
16 bit p
9440 TMS 8086, 80286 M68000 Z8000 8088 Fair child Texas Instruments Intel Motorola Zilogs
Mechatronics & Microprocessor VI Sem Automobile 10
3/25/2013
32 bit p
80386 68020, 030 32032 32523 Motorola Nationals Nationals
11
Memory
12
3/25/2013
Memory classification
Memory
Primary Memory
Storage Memory
Read/write memory
13
Main memory
p uses it in executing &
storing programs Responds quickly to a command from p -
Storage memory
To store programs &
results after its execution p directly cant execute programs stored in these devices
Non-volatile
Size is unlimited
14
3/25/2013
Read Only Memory Used for programs & data that need not be altered Operating systems & programs No data can be written into this memory
Permanent ROM PROM EPROM Semi-permanent EEPROM
Non-volatile
16
3/25/2013
17
18
3/25/2013
19
Memory classification
Inside the CPU Amount of register storage limited REGISTERS 100 to 1000 bits
CACHE To store program which may not be accessed frequently Ex: payroll data, simulation of accident PRIMARY (FASTER) PRIMARY (SLOWER) MASS STORAGE OFF-LINE BACKUP
20
10
3/25/2013
21
Architecture of 8085
22
11
3/25/2013
23
12
3/25/2013
Accumulator (A)
8 bit register Used in various arithmetic & logic operations Input data to the ALU is stored temporarily
25
26
13
3/25/2013
Flag Z N C V
SET (1) Result is zero Result is negative Carry is generated Overflow occurs
RESET (0) Result is not zero Result is not negative Carry is not generated Overflow does not occur
Interrupt is ignored
27
28
14
3/25/2013
execution of an instruction
29
15
3/25/2013
Table 2: General
8085
16
3/25/2013
33
17