5.76 · exercise
Predict: binary logic
For each shift, mask, and sign-extension snippet, give the exact value left in the destination register.
0 of 4 correct
Predict the result
mov w20, 5 lsl w19, w20, 3
Predict the result
mov w20, -8 lsr w19, w20, 1
Predict the result
mov w22, 0xB7 mov w23, 0x0F bic w24, w22, w23
Predict the result
mov w20, 0xFF sxtb w19, w20