Having a multiplier in an architecture is costly in terms of area, power consumption and performance. Instead, some arch
Posted: Fri Jul 01, 2022 5:35 am
Having a multiplier in an architecture is costly in terms ofarea, power consumption and performance. Instead, somearchitectures utilize arithmetic and logical instructions toperform multiplication. Write pseudo-assembly code using add andshift instructions that perform the following multiplication.Assuming that the first number is in register R1 and the secondnumber is in register R2. Note that the numbers are given indecimal. (Some sample instructions to show the format in case youmay need: add R1, R2, R3; sub R1, R2, R3; sll R1, R2, 5; srl R1,R2, 5) PLEASE SHOW STEPS
25 x 43
25 x 43