Multiplying in Assembly
How can you multiply the content of register %o0 by 15 without calling .mul or ading %o0 to itself 15 times in Assembly?
Re: Multiplying in Assembly
Shift it left 4 times (equivalent to multiplying by 16) and subtract the original value.
0x0012 << 4 = 0x0120
|All times are GMT +5.5. The time now is 10:50.|