$BTC Rewrite the following instructions in assembly language (Thumb-2) using only the LSL and ADD or SUB instructions, without using the MUL instruction: • X = X * 27; • X = X * 45; • X = X * 50; Note: remember to represent each constant as a combination of powers of two, and then add or subtract the results of the logical shifts.
Disclaimer: Includes third-party opinions. No financial advice. May include sponsored content.See T&Cs.