Analyse the contents of register A and flag register after the execution of the following 8085 microprocessor program;
MVI A, 55H
MVI C, 25H
ADD C
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
MVI A,55H // MOVE 55H TO ACCUMULATOR
MVI C ,25H // MOVE 25H TO C REGISTER
ADD C // A<– A+C
SO AFTER EXECUTION OF THE ABOVE PROGRAM ACCUMULATOR BECOME 7A H.
NOW, 7A H = (0111 1010)
for above program:
SIGN FLAG = 0
ZERO FLAG = 0
AUX. CARRY = 0
PARITY FLAG = 0 (FOR EVEN)
CARRY = 0 As no carry generated