3. Functional blocks
• Registers
• ALU
• Instruction decoder and machine cycle encoder
• Address buffer
• Address / Data buffer
• Incrementer / Decrementer Address Latch
• Interrupt control
• Serial I/O control
• Timing and control circuitry
7/8/2015 8085 CPU- Architecture 3
4. 1.Registers
• General purpose registers
• Temporary registers
• Special purpose registers
• Sixteen bit registers
7/8/2015 8085 CPU- Architecture 4
5. General purpose registers
• B,C,D,E,H,L are 8 bit registers.
• Combination of BC,DE,HL registers are form a 16 bit
registers
• HL pair also function as a data pointer or memory pointer
• To store intermediate results in their memory
7/8/2015 8085 CPU- Architecture 5
6. Temporary registers
• Temporary storage registers to store one input
for arithmetic and logical operations
• Programmer cannot access this registers
externally
• W and Z registers are used as temp. registers.
7/8/2015 8085 CPU- Architecture 6
7. Special purpose registers
• Accumulator – tri-state 8 bit register, used in
arithmetic logical operations and mostly the
performed results are stored in it.
• Flag Register-8 bit registers.
Sign Flag- D7-1 the num is negative
D7-0 the num is positive
Zero Flag- set if ALU result is zero
Reset if ALU result is non-zero
7/8/2015 8085 CPU- Architecture 7
8. • Auxiliary carry flag
flag is set if the bit is overflow out of bit 3.
Parity flag
-the number of 1’s present in accumulator,
-Even parity means flag set
-Odd Parity means flag reset
Carry Flag
-flag is set if there is an overflow of bit 7.
7/8/2015 8085 CPU- Architecture 8
9. 16-bit registers
• Program counter (PC)
-stores the address of next instruction to be
fetched.
-PC acts as a pointer to the next instruction.
• Stack pointer (SP)
- to hold the address of the most recent stack
entry.
7/8/2015 8085 CPU- Architecture 9
11. Instruction decoder
• Fetch and store the opcode in instruction
register.
• Decodes the opcode and gives timing and
control signals which control reg.,data
buffers,ALU,external peripherals.
7/8/2015 8085 CPU- Architecture 11
12. Address buffer
• 8-bit unidirectional buffer
• Tri-state high order address bus under such
conditions like halt,hold , reset.
7/8/2015 8085 CPU- Architecture 12
13. Address /data buffer
• 8-bit unidirectional buffer
• Low order address bus and data bus
7/8/2015 8085 CPU- Architecture 13
14. Incrementer /Decrementer latch
• 16-bit register
• Used to INC / DEC. the contents of program
counter and stack pointer
7/8/2015 8085 CPU- Architecture 14
15. Interrupt control
• Sometimes there will be need to make a
interrupt to allow or block the signals for
some time.
• RST5.5,RST 6.5,RST7.5 ,TRAP,INTR AND INTA.
7/8/2015 8085 CPU- Architecture 15
16. Serial I/O control
• SID-Serial input data for receive data.
• SOD-Serial output data for sending data.
7/8/2015 8085 CPU- Architecture 16
17. Timing and control
• For fetching and decoding operations and
generating appropriate signals for instruction
execution ,control circuitry.
7/8/2015 8085 CPU- Architecture 17