Anda di halaman 1dari 15

Microprocessor & its Applications

Module Contents

The curriculum consists of 5 modules


with 8085 as the main microprocessor

Introduction
8085 pins and their applications
8085 Architecture & Programming
8085 Interfacing Techniques
Introduction to other 8-bit
microprocessors Z80, MC6800

Module I- Introduction
A microprocessor is the main component
of a microcomputer system and is also
called as CPU (Central Processing Unit).
This module is designed to give
introduction to some elementary terms
related to a microcomputer system. The
topics covered are:

Microprocessor as CPU
Hardware and Software
Input & Output Devices
Memories

Module II- 8085 Pins

For complete understanding of the interfacing circuits of


memory, I/O devices etc. to the 8085 CPU it is required
to learn about the functions of all the pins of 8085. The
pins of 8085 are classified in following groups:
Address and Data pins
Control & status pins
Interrupt pins
Serial I/O pins
Clock pins
Reset pins
DMA pins
Power supply pins

Module III- 8085 Architecture

To develop programs for 8085, it is


required to completely understand the
internal functional blocks of 8085. 8085
architecture includes following functional
blocks:

8085 Registers
Timing and control unit
ALU
Interrupt control unit
Serial I/O control unit
Instruction decoder & encoder unit

Module III- Programming the 8085

Programming of 8085 requires


complete knowledge of the instruction
set and its structure. This requires study
of

8085 Instruction set


8085 addressing modes
One, two & three bytes instruction
Programming examples

Module IV- Interfacing Techniques

A microcomputer system consist of a minimum of


memory & I/O devices. To connect these devices
properly with 8085 is referred to as interfacing. This
module provides interfacing techniques for

RAM & ROM


I/O devices
Special purpose programmable devices
such as 8255, 8253/8254, 8257, 8259

Module V-Introduction to other 8bit microprocessors

This module is designed to develop


an introductory knowledge about
some other 8-bit microprocessors
used in embedded technology. The
microprocessors covered in this
module are:

Z80 of Zilog
MC6800 of Motorola Corporation

Module I
Introduction: Microcomputer &
Microprocessor

A microcomputer is a programmable machine. Modern


computers are electronic and digital. The two principal
characteristics of a computer are:

It responds to a specific set of instructions in a welldefined manner.


It can execute a prerecorded list of instructions (a
program)
Its main components are

CPU
Input & Output devices
memory

A microprocessor is a programmable VLSI chip which


controls and performs all operations in a
microcomputer. Its main units are

ALU
Registers
Control Unit

Block diagrams
(Microcomputer & Microprocessor)

Memory Classification

Module II8085 pins

Instruction Set

Instruction set of 8085 can be classified in


following groups:
Data Transfer Instructions
These instructions can perform data
transfer operations between

Registers of 8085 e.g. MOV


8085 registers and main memory e.g. LDA, STA,
MOV, LDAX, STAX, MVI, LXI etc.
Accumulator register and I/O devices e.g. IN,
OUT

Data transfer instructions never affect the


flag bits

Instruction Set

Arithmetic Instructions

Contd..

8085 can perform only 8-bit addition, subtraction and


compare operations. These operations are always
performed with accumulator as one of the operands.
The status of the result can be verified by the
contents of the flag register.
Op-codes for arithmetic instructions include ADD,
ADI, ADC, ACI, SUB, SUI, SBB, SBI, CMP, CPI

Logical Instructions

8085 can perform 8-bit basic logical operations -AND,


OR, XOR, NOT with some special operations such as
rotate and shift operations
Logical instructions also modify the flag bits.
Op-codes for logical instructions include ANA, ANI,
ORA, ORI, XRA, XRI, CMA, RAL, RLC, RAR, RRC etc.

Thank you....