a. If r1=0b00010100, then what is the value of r2 when CPU execute the following operations? . 1. LSL r2, r1 #3 2. LSR r
Posted: Tue Jul 12, 2022 8:09 am
a. If r1=0b00010100, then what is the value of r2 when CPU execute the following operations? . 1. LSL r2, r1 #3 2. LSR r2, r1 #3 3. ROR r1,4 b. If rl = 0b00010100 1. Show how to set bit number 6 using appropriate bitwise operation. 2. Show how to clear a bit number 5 using appropriate bitwise operation.