Chapter 1 and 2 8085 Architecture & Interfacing Basics
Chapter 1 and 2 8085 Architecture & Interfacing Basics
Architecture
By
Prof. Priti Jain,
Mechatronics Dept, PIT.
www.yesnarayanan.blogspot.com
The ALU
• In addition to the arithmetic & logic circuits, the ALU
includes the accumulator, which is part of every
arithmetic & logic operation.
www.yesnarayanan.blogspot.com
Registers
The 8085/8080A-programming model includes six
registers, one accumulator, and one flag register, as
shown in Figure. In addition, it has two 16-bit
registers: the stack pointer and the program counter.
www.yesnarayanan.blogspot.com
Stack Pointer (SP)
The stack pointer is also a 16-bit register used as a
memory pointer. It points to a memory location in
R/W memory, called the stack. The beginning of the
stack is defined by loading 16-bit address in the stack
pointer. The stack concept is explained
in the chapter "Stack and Subroutines."
www.yesnarayanan.blogspot.com
Instruction Register/Decoder
Temporary store for the current instruction of a
program. Latest instruction sent here from memory
prior to execution. Decoder then takes instruction
and ‘decodes’ or interprets the instruction. Decoded
instruction then passed to next stage.
www.yesnarayanan.blogspot.com
Timing Diagram
• Following Buses and Control Signals
must be shown in a Timing Diagram:
• Higher Order Address Bus.
• •Lower Address/Data bus
• •ALE
• •RD
• •WR
• •IO/M
www.yesnarayanan.blogspot.com
More on the 8085 machine
cycles
• The 8085 executes several types of instructions with
each requiring a different number of operations of
different types. However, the operations can be
grouped into a small set.
• The three main types are:
• Memory Read and Write.
• I/O Read and Write.
• Request Acknowledge.
RAM
Input Buffer WR
Address CS Address CS
Lines Lines
Data Lines
Date
Lines
8085
CS
A15-A8
ALE
A9- A0 1K Byte
AD7-AD0 Latch Memory
A7- A0 Chip
WR RD IO/M D7- D0
RD WR