Consider the following assembly language program for a hypothetical processor A, B, and C are 8 bit registers. The meanings of various instructions are shown as comments.
MOV B, #0
$B \leftarrow 0$
MOV C, #8
$C \leftarrow 8$
CMP C, #0
compare C with 0
jump to X if zero flag is set
SUB C, #1
$C \gets C-1$
RRC A, #1
right rotate A through carry by one bit. Thus:
If the initial values of A and the carry flag are $a_7..a_0$ and
$c_0$ respectively, their values after the execution of this
instruction will be $c_0a_7..a_1$ and $a_0$ respectively.
jump to Y if carry flag is set
jump to Z
ADD B, #1
$B \gets B+1$
Which of the following instructions when inserted at location X will ensure that the value of the register A after program execution is as same as its initial value?
@Anmol 300 books will be dispatched this month...