Question: ; 5 . Logical operations and 'good' and 'bad' constants ( commands AND, ORR, BIC, EOR ) . Write instructions that set bits 0 ,

; 5. Logical operations and 'good' and 'bad' constants (commands AND, ORR, BIC, EOR).
Write instructions that set bits 0,4 and 12 to 1, then clear (sets to 0's)
bits 31 and 9, and invert bit 5 in register R6 and leave the
remaining bits unchanged.
Bit 0 is less significant bit, the bit 31 is most significant one
Your code should works for any number in R6
Put your instructions here.|
; Using a debugger, make sure that your result is correct:
R6=06260B017
IN ARM m4 cortex
 ; 5. Logical operations and 'good' and 'bad' constants (commands AND,

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!