Professional Documents
Culture Documents
ARCHITECTUR
E
Microprocessor ?
A microprocessor is multi
programmable clock driven
register based
semiconductor device that is
used to fetch , process and
execute a data within
fraction of seconds.
PIN CONFIGURATION
SOD
SID
TRAP
RST 7.5
RST 6.5
INTA
RST 5.5
INTR
8085 ARCHITECTURE
Interrupt controller
Multiplexer
Instruction Reg
Reg array
Temp Reg
Accumulator
Instruction D
ecoder and Ma
chine Cycle E
ncoding
ALU
W tem
p
Z tem
p
Inc/dec latch
Reset
out
Reset
Reset in
HOLD
HLDA
DMA
IO/M
S1
ALE
Status
WR
Clk
out
RD
Control
S0
X2
Ready
X1
A15 A8
Address
Buss
Data/ Address
Buffer
AD0 AD7
Address/
Data
Buss
Flag Register
The flags are affected by the arithmetic and logical
instruction
D7
S
D6
Z
D5
D4
AC
D3
D2
P
D1
D0
CY
Accumulator
It is an 8 bit register
For any arithmetic and logical
instruction one of the data should be in
this register
It is used for storing the result of any
arithmetic and logical manipulations.
It is also called as A register
All the data which are sent to I/O
devices are sent via A register.
Temporary register
It
Sign Flag
If
Carry flag
During the arithmetic operation if a
carry occurs then this flag is set.
Ex. F1+1F=1
10
Carry
Zero flag
During
the arithmetic/
logical operation if the
result is zero then this
flag is set.
Ex. FF-FF = 00
Parity flag
After
Register array
The
IO/M
S1
S0
Opcode
fetch
Memory
read
Memory
write
I/O read
I/O write
is an 8 bit register
It is used for performing
addition, subtraction and
logical operation.
AND, OR, NOT, XOR, CMP are
some of the logical operation.
Program Counter
It
is a 16 bit register
It is used to point out
the address of the next
instruction which is to
be executed
Stack pointer
It
is a 16 bit register
It points the starting address
of the stack .
Register Array
B,
C, D, E, H and L are
general purpose register
All are 8 bit register
If the are combined as BC,
DE and HL they can store 16
bit data
Instruction set
An instruction is a binary
pattern designed inside a
microprocessor to perform a
specific function.
A group of instruction together
called as instruction set.
Group of instruction set is
called as a program.
Classification of
instruction set
1 byte instruction
It
Opcode an operand
The
task to be performed
is called Opcode
The data to be operated is
called Operand.
2 byte instruction
The
3 byte instruction
The