โ Microprocessors & Microcontrollers learning pathMicroprocessors & Microcontrollers ยท Module 2 of 10
8085 architecture and registers
Registers, flags and pins of the 8085.
๐ Key ideas
- General registers B, C, D, E, H, L can pair as BC, DE and HL for 16-bit use.
- The accumulator (A) holds one operand and the result of most ALU operations.
- Flags: Sign, Zero, Auxiliary carry, Parity and Carry show the result of the last operation.
- The stack pointer (SP) points to the top of the stack in memory; the program counter (PC) points to the next instruction.
- The lower address and data lines are multiplexed (AD0-AD7) and separated with the ALE signal.
๐ก Real-life example: Flags are like warning lights on a car dashboard: after each operation, they tell you if the result was zero, negative or overflowed.
AccumulatorMain register for ALU results
Zero flagSet when a result is zero
Stack pointerPoints to the top of the stack
ALESignal that latches the low address byte