127
7. Assuming accumulator contains 80H and the Carry
fl ag is cleared, which of the following instructions,
when executed, would set the Carry fl ag and clear
the accumulator?
(a) RRC A (b) RLC A
(c) RL A (d) None of these
8. Which of the following instructions, when executed
four times, would interchange (swap) the nibbles
of the accumulator?
(a) RR A (b) RL A
(c) Either of these (d) None of these
9. Instead of using the instruction ANL A, #00H,
which of the following instructions may be used
to get the same eff ect?
(a) CPL A (b) CLR A
(c) Either of these (d) None of these
10. Instead of using the instruction XRL A, #0FFH,
which of the following instructions may be used
to get the same eff ect?
(a) CPL A ...