Lecture # 05 - 06
Lecture # 05 - 06
TECHNIQUES
1
LECTURE # 05 - 06
INTERNAL ARCHITECTURE OF
MICROPROCESSOR 8085
2
CPU INTERNAL STRUCTURE
4
Microcomputer Architecture :
1. ALU
4. Register Array
5. Interrupt Control
6
(1). Arithmetic and logic unit (ALU):
The ALU is related with
• Accumulator
• Temporary register
10
(4). Interrupt Control:
List of Interrupts:
• TRAP
• RST 7.5
• RST 6.5
• RST 5.5
• INTR 11
(5). Register Arrays :
Temporary Register:
• It is a 8-bit register which is used to hold the data.
• It is used to transfer data to the ALU and usually contains
the SECOND VALUE REQUIRED FOR ARITHMETIC OPERATIONS.
14
(5). Register Arrays (STATUS REGISTER):
Status Register (Flags Flip-Flops)
16
(5). Register Arrays (STATUS REGISTER):
Sign Flag:
Example:
1011 0101
+ 0110 1100
______________
19
This flag is set when a carry is generated from bit D3 and passed to D4.
• Example:
1
Carry from d3 to d4 0 011 010 1
+ 0110 110 0
______________
20
1 0 10 0 0 0 1
(5). Register Arrays (STATUS REGISTER):
Parity Flag:
After an ALU operation if the result has an even # of 1’s the p-flag is
set. Otherwise it is cleared.
So, the flag can be used to indicate even parity.
21
(5). Register Arrays (GENERAL PURPOSE REGISTER):
25
THE END !!!
26