Microprocessor 8085 Architecture
Microprocessor 8085 Architecture
Microprocessor 8085 Architecture
1
Building Blocks of Processor Systems
MEM ORY
INPUT-OUTPUT
CONTROL
DATAPATH
CPU
2
Processor System Architecture
The typical processor system consists of:
CPU (central processing unit)
ALU (arithmetic-logic unit)
Control Logic
Registers, etc…
Memory
Input / Output interfaces
Interconnections between these units:
Address Bus
Data Bus
Control Bus
3
Bus and CPU
Bus: A shared group of wires used for communicating
signals among devices
• address bus: the device and the location within the
device that is being accessed
• data bus: the data value being communicated
• control bus: describes the action on the address and data
buses
• High-level language: a = b + c
• Assembly language: add r1 r2 r3
• Machine language: 0001001010111010101
4
Memory and I/O
Memory: Where instructions (programs) and data are stored
• Organized in arrays of locations (addresses), each storing
one byte (8 bits) in general
• A read operation to a particular location always returns the
last value stored in that location
5
8085 Microprocessor Architecture
6
The 8085 Bus Structure
The 8-bit 8085 CPU (or MPU – Micro Processing Unit)
communicates with the other units using a 16-bit address
bus, an 8-bit data bus and a control bus.
7
The 8085 Bus Structure
Address Bus
Consists of 16 address lines: A0 – A15
8
The 8085 Bus Structure
Data Bus
Consists of 8 data lines: D0 – D7
Operates in bidirectional mode: The data bits are
sent from the MPU to peripheral devices, as well
as from the peripheral devices to the MPU.
Control Bus
Consists of various lines carrying the control
signals such as read / write enable, flag bits.
9
The 8085: CPU Internal Structure
10
The 8085: CPU Internal Structure
11
The 8085: Registers
12
The 8085: CPU Internal Structure
Registers
Six general purpose 8-bit registers: B, C, D, E, H, L
15
Example: Instruction Fetch Operation
16
Example: Instruction Fetch Operation
17
Example: Instruction Fetch Operation
18
8085 Functional Block Diagram
19