13402_lecture 2

14
MICROPROCESSOR AND ITS APPLICATION Bharat Sankhlecha [email protected] Sr. Lecturer Block 33 Room No. 203 Ch No. 18 M: 9501424515 Bharat sankhlecha

Upload: kiratsandhu09

Post on 14-Oct-2014

27 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 13402_Lecture 2

MICROPROCESSOR AND ITS

APPLICATIONBharat Sankhlecha

[email protected]

Sr. Lecturer

Block 33 Room No. 203 Ch No. 18

M: 9501424515

Bh

ara

t san

kh

lech

a

Page 2: 13402_Lecture 2

BLOCK DIAGRAM OF A COMPUTER WITH

MICROPROCESSOR AS CPU

Micro-

processor

as CPU

Input Output

Memory

Bh

ara

t san

kh

lech

a

Page 3: 13402_Lecture 2

MICROPROCESSOR SYSTEM WITH BUS

ARCHITECTURE

Control

ALU

System Bus

I/O

Input/Output

Memory

ROM RAM

Register

Array

Bh

ara

t san

kh

lech

a

Page 4: 13402_Lecture 2

ORGANIZATION OF A MICROPROCESSOR

BASED SYSTEM

Microprocessor

Arithmetic Logic Unit

Register Array

Control Unit

Memory

I/O (Input/Output)

System Bus

Bh

ara

t san

kh

lech

a

Page 5: 13402_Lecture 2

8085 MICROPROCESSOR

Page 6: 13402_Lecture 2

8085 ARCHITECTURE AND ITS

OPERATIONS

The microprocessor is a programmable digital

device, design with registers, Flip flops and

timing elements.

The microprocessor has set of instructions,

designed internally, to manipulate data and

communicate with peripherals.

This process of data manipulation and

communication is determined by the logic design

of the microprocessor, called the architecture.

Page 7: 13402_Lecture 2

All the various functions performed by the

microprocessor can be classified in three general

categories:

Microprocessor-initiated operations

Internal operations

Peripheral (or externally initiated) operations

Page 8: 13402_Lecture 2

Register Structure

ALU

Bus Organization

Timing and Control

Page 9: 13402_Lecture 2
Page 10: 13402_Lecture 2

8085 BUS STRUCTURE

Page 11: 13402_Lecture 2

MICROPROCESSOR INITIATED OPERATIONS

AND 8085 BUS ORGANIZATION

The MPU performs primarily four operations:

1. Memory Read: Read data (or instructions) from memory

2. Memory Write : Write data (or instructions) into memory

3. I/O Read: Accepts data from input devices

4. I/O Write: Sends data to output devices

All the operations are part of the communication process between the MPU and peripheral (including memory). To communicate with a peripheral (or a memory location), the MPU needs to perform the following steps:

Step1: Identify the peripheral or the memory location (with its address)

Step2: Transfer binary information (Data or instruction)

Step3: Provide timing or synchronization signals.

Page 12: 13402_Lecture 2

EXAMPLE: MEMORY READ OPERATION

Page 13: 13402_Lecture 2

INTERNAL DATA OPERATIONS AND THE

8085 REGISTERS

The internal architecture of the 8085 microprocessor determines how and what operations can be performed with the data. These operations are:

1. Store 8-bit data.

2. Perform arithmetic and logical operations.

3. Test for conditions.

4. Sequence execution of instructions.

5. Store data temporarily during execution in the defined R/W memory location called stack.

To perform these operations, the microprocessor requires registers, an arithmetic logic unit and control logic, and internal buses (paths for information flow)

Page 14: 13402_Lecture 2

PERIPHERAL OR EXTERNALLY INITIATED

OPERATIONS

External devices can initiate the following

operations, for which individual pins on the

microprocessor chip are assigned : Reset,

Interrupt, Ready, Hold.