Dear Arjun sir
I have a very stupid doubt here. Please pardon my ignorance.
First time the value of C will be 8 ==> 1000
Now , after SUB C,#1 , value of C will be 7 ==> 0111
Now , will the RRC be 1011 ? so , B will be 0+1 = 1
After this C will be 7 ( CMP C,#0 will be zero flag false ) , now C <- C-1 , so C is 6 , 0110 ,
Now , RRC will be 0011 , so B will not be incremented.
Will this program flow happen in this way ?