Introduction To 8085 Microprocessor
Introduction To 8085 Microprocessor
Key Features:
2. Registers in 8085
2. Accumulator
An 8bit register that stores intermediate and final results of arithmetic and logic
operations.
Also known as register A.
Essential for operations involving ALU (Arithmetic Logic Unit).
5. Flag Register
Consists of five 1bit flags:
Sign (S): Set if MSB of result is 1.
Zero (Z): Set if result is zero.
Auxiliary Carry (AC): Set if carry from bit 3 to bit 4 occurs.
Parity (P): Set if result has even number of 1s.
Carry (CY): Set if there is a carry/borrow from D7.
Flags are used for decision making in conditional instructions.
6. Temporary Registers
W and Z registers are used internally by the microprocessor for instruction
execution.
Example: CALL, RET, and XCHG instructions use these registers for temporary
storage.