Question: Given this c program and its assembly, modify the assembly code so that it returns 3*x + 7*y + 14*z using only shift and add
Given this c program and its assembly, modify the assembly code so that it returns 3*x + 7*y + 14*z using only shift and add (or subtract). Do not use the leal or imull instruction.

#include #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
