Find content of 'C' register after execution of following assembly program
MVI A, 17H
LOOP: RLC
JNC LOOP
MOV C,A
HLT
Here my doubt is when at the end we did mov c,a then output should be the value of A that is in c rather than the previous result which we got after rlc instruction. But this didn't happen ..why so?