Question: The following two fragments of code are a C program and the 68000 assembly language output produced by Intermetrics cross-compiler:


Examine the above 68000 code and carefully explain
a. how parameters are passed between the main function and the function calculate.
b. how the C compiler handles memory allocation.
c. the use of the stack during the execution of the program. Draw memory maps* as appropriate, to illustrate your answers.