The effective address is the contents of register r2 minus the contents of register r3 shifted one place left.

What will be an ideal response?

We can use a shift and continue until we find a 1 or stop on all bits shifted.





MOV r1, #32

Loop MOVS r0,r0, ROL #1

BEQ Exit

SUB r1,r1,#1

BNE Loop



Computer Science & Information Technology

You might also like to view...

The curly braces in a method contain the parameters.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

What does the PHP construct exit return?

a. 0 b. true c. nothing d. 1

Computer Science & Information Technology