2,708 views
0 votes
0 votes

What are the states of the Auxiliary Carry (AC) and Carry Flag (dCY) after executing the following 8085 program?

   MVI L, 5DH
   MVI L, 6BH
   MOV A, H
   ADD L 

1 Answer

Best answer
1 votes
1 votes

Take this random example

AC is the Auxiliary Carry. Here by adding 1 and 1, the 4th bit from LSB (marked blue)a carry 1 is generated which is added to the resulting 5th bit after the 5th bit addition is done.

 

edited by

Related questions

1 votes
1 votes
1 answer
1
0 votes
0 votes
1 answer
2
1 votes
1 votes
1 answer
4