Question: As we discussed in class, Logical operations ( Instructions ) are used to modify only desired bits of a variable or register. The following 3

As we discussed in class, Logical operations (Instructions) are used to modify only desired bits of a variable or register. The following 3 questions are related to this.
Which of the following instructions can set (to '1') bits 3 and 4 of register R1 without changing its other bits?
Group of answer choices
AND R1,R1,#0x0018 ;
ORR R1,R1,#0x0018 ;
ORR R1,R1,#0x0043;
EOR R1,R1,#0x0018;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!