ICS 3111:microprocessor: Lec: Mourice Ojijo
ICS 3111:microprocessor: Lec: Mourice Ojijo
October 1, 2021
Course content
Figure 6: The internal architecture of the Intel 8085 MPU show the
register arrangement and system buses
Z-Zero flag: The Zero flag is set to one when the result in the
accumulator or other registers is zero. Otherwise it is reset.
CY-Carry flag: If an arithmetic operation results into a carry
then it is set to one otherwise it is reset to zero.
S-Sign Flag: The sign flag is set if bit D7 of the result is = 1.
P-Parity: If the result in the accumulator has an even number of
1s the this flag is set to one otherwise it is reset.
AC-Auxiliary carry: In an arithmetic operation when a carry is
generated by bit D3 into D4. Then AC is set to 1. This flag is
used internal for binary coded operation (BCD). There are no
jump instruction associated with this flag.
These are two sixteen (16) bit registers used to hold memory
addresses.
The size of these register is 16 bits because the addresses are 16
bit
The microprocessor uses PC to sequence execution of
instructions
The function of PC is to point to the memory address from with
the next instruction (1 byte) is going to be fetched.
After the byte is fetched the content of PC is automatically
incremented by one to point to the next location.