Professional Documents
Culture Documents
The diagram shown below represents the Architecture of the 8085 Microprocessor
Registers:
The 8085 has eight addressable Eight-bit registers such as A, B, C, D, E, H, L, & F.
The 8085 has two Sixteen bit registers such as Stack Pointer (SP) & Program Counter
(PC).
Sixteen-bit Registers
Program Counter (PC)
Stack Pointer (SP)
Temporary Registers:
Temporary Data Register: The Arithmetic & Logic Unit has two inputs.
The first input is from Accumulator and the second input is from Temporary Data
Register.
But the programmer can’t access this Temporary Data Register.
It is used to execute arithmetic and logical instructions internally
For example, an instruction ADD B is an arithmetic instruction.
This instruction adds the contents of register A and register B and stores the final added
value in register A.
This operation is performed by the Arithmetic & Logic Unit.
Here,
The content of register B is moved to the temporary data register to apply the second
input to the ALU.
The Arithmetic & Logic Unit reads inputs from register A and Temporary Data Register.
W and Z registers:
W and Z registers are temporary registers and are not available for the programmer.
These W and Z registers are used to store eight-bit data during instruction execution.
The 8085 Microprocessor uses these W and Z registers for internal operation.
Flag Register:
It is an eight-bit register.
The five bits among these eight bit carries essential information in the form of flags:
1. Sign Flag (S)
2. Zero Flag (Z)
3. Auxiliary Carry Flag (AC),
4. Parity Flag (P), And
5. Carry Flag (CY)