The contents of the flag register after execution of the following program by 8085 microprocessor will be
My Answer: None of These, ISRO Answer: (a)
Explanation: 8085 microprocessor has a 8 bit flag register to indicate certain conditions arising after arithmetic and logical operations or to control certain operations.
Auxilary carry will be 1 after the decrement of (01)H
oooo ooo1 (original B)
1111 1111 (substracting 1)
here auxilary carry will be 1 on decrement. so yeah. Isro is correct.
According to virtual 8085 processor , answer is 45H
I ran this code in 8085 simulator and step in each step and Got o/p = (45)h as flag value.. Arjun Sir could you explain ...