c = (a + b) / a
d = b * (a + b) / a * c
e = a * (c + d)
Write the assembly code to perform the above statements for each of the following architectures. Use the least number of instructions. (Reuse registers when possible. Do not treat each code statement separately; view it as a whole.)
a) Accumulator
b) (0,2) GPR
c) (0,3) GPR
d) (1,2) GPR
e) (3,3) GPR