retagged by
6,175 views

1 Answer

Best answer
8 votes
8 votes

After ADD C accumulator becomes $01111010 = 7AH$

Then DAA instruction causes the value of Acc to be formatted as BCD. So it becomes $80H$

Below the description of DAA instruction from  

http://microprocessorforyou.blogspot.in/2012/05/instruction-4.html


The contents of the accumulator are changed from a binary value to two 4-bit binary coded decimal (BCD) digits. This is the only instruction that uses the auxiliary flag to perform the binary to BCD conversion, and the conversion procedure is described below. S, Z, AC, P, CY flags are altered to reflect the results of the operation. If the value of the low-order 4-bits in the accumulator is greater than 9 or if AC flag is set, the instruction adds 6 to the low-order four bits. If the value of the high-order 4-bits in the accumulator is greater than 9 or if the Carry flag is set, the instruction adds 6 to the high-order four bits.

selected by

Related questions

1 votes
1 votes
1 answer
1
Kathleen asked Sep 29, 2014
2,986 views
RST 7.5 interrupt in 8085 microprocessor executes the interrupt service routing from interrupt vector location0000H0075H003CH0034H
0 votes
0 votes
0 answers
2
3 votes
3 votes
2 answers
3
Kathleen asked Sep 29, 2014
12,058 views
The Newton-Raphson method is used to find the root of the equation $X^2-2=0$. If the iterations are started from -1, the iterations willconverge to -1converge to $\sqrt{2...