Unit3 COD Mano
Unit3 COD Mano
Unit3 COD Mano
Pointing register
is automatically
incremented or
decremented
after each use
8. Auto Increment - Auto
decrement addressing:
• Pointing register is
automatically incremented
or decremented after each
use
8. Base Register Addressing:
EA=base register + Address field
9. Relative addressing:
EA=PC+ Address field of instruction
8085 Microprocessor
Introduction
8085
Microprocessor
Introduction
8085
Microprocessor
PIN Diagram
8085
microprocessor:
Power Supply
and
CLK-frequency
8085
microprocesso
r:
X1 and X2 pins
8085
microprocessor:
RESET IN and
RESET Out
8085
microprocessor
:
RESET Out
8085
microprocessor:
SOD and
Maskable
Interrupt
8085
microprocessor:
Vectored
Interrupt
8085
microprocessor:
Vectored
Interrupt
8085
microprocessor:
Non-Vectored
Interrupt
8085
microprocessor:
Priority of
Interrupts
8085
microprocessor:
TRAP
Interrupt pin
8085
microprocessor:
INTR Interrupt
pin
8085
microprocessor:
INTA' Interrupt
pin
8085
microprocessor:
Address and
Data
pins
8085
microprocessor:
A8 - A15 pins
8085
microprocessor:
A8 - A15 pins
8085
microprocessor:
ALE pin
8085
microprocessor:
S0 and S1 pin
8085
microprocessor:
IO/M' pin
8085
microprocessor:
Operation
identification
8085
microprocessor:
RD' pin
8085
microprocessor:
WR' pin
8085
microprocessor:
READY pin
8085
microprocessor:
HOLD pin
8085
microprocessor
:
HDLA pin
8085 Microprocessor
De-multiplexing of address and data lines
8085 Microprocessor
De-multiplexing of address and data lines
8085 Microprocessor
De-multiplexing of address and data lines
8085 Microprocessor
De-multiplexing of address and data lines
8085 Microprocessor
Functional block diagram
Functional Block Diagram
8085 Microprocessor
Instruction Set
8085
microprocessor:
All types
8085
microprocessor:
Introduction
8085
microprocessor:
Types
8085
microprocessor:
Data Transfer
Instructions
8085 Microprocessor
Data Transfer Instructions
8085 Microprocessor
Data Transfer Instructions
8085 Microprocessor
Data Transfer Instructions
8085 Microprocessor
Data Transfer Instructions
8085 Microprocessor
Data Transfer Instructions
8085 Microprocessor
Data Transfer Instructions
8085 Microprocessor
Data Transfer Instructions
8085 Microprocessor
Data Transfer Instructions
8085 Microprocessor
Data Transfer Instructions
8085 Microprocessor
Data Transfer Instructions
8085 Microprocessor
Data Transfer Instructions
8085 Microprocessor
Data Transfer Instructions
8085 Microprocessor
Data Transfer Instructions
8085 Microprocessor
Data Transfer Instructions
8085 Microprocessor
Data Transfer Instructions
8085 Microprocessor
Data Transfer Instructions
8085 Microprocessor
Data Transfer Instructions
8085
microprocessor:
Arithmetic
Instructions
8085 Microprocessor
Arithmetic Instructions: ADD
8085 Microprocessor
Arithmetic Instructions: SUB
8085 Microprocessor
Arithmetic Instructions: INR/DCR
8085 Microprocessor
Arithmetic Instructions: ADD
8085 Microprocessor
Arithmetic Instructions: ADC
8085 Microprocessor
Arithmetic Instructions: ADI
8085 Microprocessor
Arithmetic Instructions: ACI
8085 Microprocessor
Arithmetic Instructions: DAD
8085 Microprocessor
Arithmetic Instructions: SUB
8085 Microprocessor
Arithmetic Instructions: SBB
8085 Microprocessor
Arithmetic Instructions: SUI
8085 Microprocessor
Arithmetic Instructions: SBI
8085 Microprocessor
Arithmetic Instructions: INR
8085 Microprocessor
Arithmetic Instructions: INX
8085 Microprocessor
Arithmetic Instructions: DCR
8085 Microprocessor
Arithmetic Instructions: DCX
8085
microprocessor
:
Logical
Instructions
8085 Microprocessor
Logical Instructions:
8085 Microprocessor
Logical Instructions:
8085 Microprocessor
Logical Instructions:
8085 Microprocessor
Logical Instructions: CMP
8085 Microprocessor
Logical Instructions: CMP
8085 Microprocessor
Logical Instructions: CMI
8085 Microprocessor
Logical Instructions: CMI
8085 Microprocessor
Logical Instructions: ANA
8085 Microprocessor
Logical Instructions: ANI
8085 Microprocessor
Logical Instructions: XRA
8085 Microprocessor
Logical Instructions: ORA
8085 Microprocessor
Logical Instructions: ORI
8085 Microprocessor
Logical Instructions: XRA
8085 Microprocessor
Logical Instructions: XRI
8085 Microprocessor
Logical Instructions: RLC
8085 Microprocessor
Logical Instructions: RRC
8085 Microprocessor
Logical Instructions: RAL
8085 Microprocessor
Logical Instructions: RAR
8085 Microprocessor
Logical Instructions: CMA
8085 Microprocessor
Logical Instructions: CMC
8085 Microprocessor
Logical Instructions: STC
8085
microprocessor:
Branching
Instructions
8085 Microprocessor
Logical Instructions: JMP
8085 Microprocessor
Logical Instructions: JX
8085 Microprocessor
Logical Instructions: JX
8085 Microprocessor
Logical Instructions: CALL
8085 Microprocessor
Logical Instructions: CX
8085 Microprocessor
Logical Instructions: CX
8085 Microprocessor
Logical Instructions: RET
8085 Microprocessor
Logical Instructions: RX
8085 Microprocessor
Logical Instructions: RX
8085 Microprocessor
Logical Instructions: RST
8085 Microprocessor
Logical Instructions: RST
8085
microprocessor:
Control
Instructions
8085 Microprocessor
Logical Instructions: NOP
8085 Microprocessor
Logical Instructions: HLT
8085 Microprocessor
Logical Instructions: DI
8085 Microprocessor
Logical Instructions: EI
8085 Microprocessor
Logical Instructions: RIM
8085 Microprocessor
Logical Instructions: RIM
8085 Microprocessor
Logical Instructions: SIM
8085 Microprocessor
Logical Instructions: RIM
8085
microprocessor:
Assembly
Language
Programming
8085
microprocessor:
Memory,
Subroutine and
Interrupts
Stack Pointer
LXI SP 5000H
MVI L, 00H
PUSH H
POP PSW /// clear flags
PUSH PSW
POP H
MOV A, L
Out 41H// display at port no 41 (display device connected)
HLT
Subroutine:
A small program written separately from the main program
to perform a particular task.
The task may be repeatedly required in the main program.
Used to avoid the repetition of smaller programs.
Subroutines are written separately and are stored in a
memory location that is different from the main program.
You can call a subroutine multiple times from the main
program using a simple CALL instruction.
Similar to function call of high level language.
CALL address // used to call a subroutine. It is done by
pushing the return address (content of PC) onto stack
RET // used to return from subroutine by POPing the
Stack Pointer into PC
It is advisable to initialise SP before using CALL
RET Instruction:
Implementing Call by Value and Call
by reference
Write a program to display FF and 11 repeatedly on seven segment
display. Write a delay subroutine and call it.
LXI SP FFFFH
Start: MVI A FFH
OUT 00H
CALL Delay
MVI A, 11
OUT 00H
CALL Delay
JUMP Start
https://www.slideshare.net/grambabu77/8085
-interrupts-50457972
E E’
Basic IO interfacing
For peripheral:
IO/M’=1
For memory:
IO/M’=0
Including
IO/M’and
WR’and RD’
total 4 control
signals can be
generated.
Interrupts in 8085