2.52 [20] <§2.18> For the following C code, write an equivalent assembly language

program in each architectural style (assume all variables are initially in

memory):

a = b + c;

b = a + c;

d = a ¨C b;

For each code sequence, calculate the instruction bytes fetched and the memory

data bytes transferred (read or written). Which architecture is most effi-

cient as measured by code size? Which architecture is most efficient as

measured by total memory bandwidth required (code + data)? If the answers

are not the same, why are they different?