Logical Instructions in MCS-51 - MCQs with Answers
Logical Instructions in MCS-51 - MCQs with Answers
Q1. Which form of instructions also belong to the category of logical instructions in addition to bitwise logical instructions?a. Single-operand instructions
b. Rotate instructions
c. Swap instructions
d. All of the above
View Answer / Hide Answer ANSWER: d. All of the above
Q2. Which rotate instruction/s has an ability to modify CY flag by moving the bit-7 & bit-0 respectively to an accumulator?a. RR & RL
b. RLC & RRC
c. RR & RRC
d. RL & RLC
View Answer / Hide Answer Q3. Which among the single operand instructions complement the accumulator without affecting any of the flags ?a. CLR
b. SETB
c. CPL
d. All of the above
View Answer / Hide Answer