Perform the following operation in Assembly Language by doin

Perform the following operation in Assembly Language by doing Shift left/right or rotate instructions.

i = i*27;

Solution

this is the fallowing operation in assembly language by using shift left/right

// suppose i is stored in R0

ADD R0, R0, R0,..27 times LSL #1 ;R0 = R0+26*R0 = 27*R0

Perform the following operation in Assembly Language by doing Shift left/right or rotate instructions. i = i*27;Solutionthis is the fallowing operation in assem

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site