Microprocessor Is A Programmable Multipurpose Clock Driven Sequential Digital Integrated Electronic Component
Microprocessor Is A Programmable Multipurpose Clock Driven Sequential Digital Integrated Electronic Component
Microprocessor is a
Programmable
Multipurpose
Clock driven
Sequential
Digital
Integrated electronic
component.
The Harvard architecture
The Von Neumann architecture
Evaluations of microprocessors
1. Address Bus
2. Data Bus.
3. Control & status signals
4. Power supply & frequency signals
5. Externally initiated signals
6. Serial I/O ports
The 8085 Bus Structure
Control Bus
Consists of various lines carrying the control
signals such as read / write.
The 8085 Bus Structure
Address Bus
Consists of 16 address lines: A0 – A15
Absolute decoding
A Memory location is identified by a
single address value
Partial decoding
A Memory location is identified by
multiple address value
Interfacing the 16kb with 8085
2n =16000
log2n =log16000
n=log16000/log2
n=13.96(must be an integer)
n=14
Interfacing the 16kb with 8085
Interfacing the 16kb with 8085
Two Types
Memory mapped I/O
Classification of Interrupts
Interrupts can be classified into two types:
Maskable Interrupts (Can be delayed or Rejected)
Non-Maskable Interrupts (Can not be delayed or
Rejected)
TRAP
RST7.5
RST6.5
RST 5.5 8085
INTR
INTA
Interrupts
Hardware Interrupts
Interrupt Vector address
1. TRAP 0024H
2. RST 7.5 003CH
3. RST 6.5 0034H
4. RST 5.5 002CH
Interrupts
Software Interrupts
Interrupt Vector address
RST 0 0008
RST 1 0010
RST 3 0018
RST 4 0020
RST 5 0028
RST 6 0030
RST 7 0038
Addressing Mode
Direct Addressing
Indirect Addressing
Register Addressing
Immediate Addressing
Implied Addressing
Instruction Set
MOV Move
MVI Move Immediate
LDA Load Accumulator Directly from Memory
STA Store Accumulator Directly in Memory
LHLD Load H & L Registers Directly from
Memory
SHLD Store H & L Registers Directly in Memory
An 'X' in the name of a data transfer instruction implies that it
deals with a register pair (16-bits);
LXI Load Register Pair with Immediate data
LDAX Load Accumulator from Address in Register Pair
STAX Store Accumulator in Address in Register Pair
XCHG Exchange H & L with D & E
XTHL Exchange Top of Stack with H & L
Arithmetic Group
JMP Jump
CALLCall
RET Return
Jumps Calls
JC (Carry)
JNC (No Carry)
JZ (Zero)
JNZ (Not Zero)
JP (Plus)
JM (Minus)
JPE (Parity Even)
JP0 (Parity Odd)
PCHL Move H & L to Program Counter
RST Special Restart Instruction Used with Interrupts
Stack I/O, and Machine Control
Instructions