I`m troubling with constructing the runtime environment of using temporaries, local variables, parameters, locations reserved for return values, and return addresses, as well as the base pointer(bp), frame pointer(fp), and the stack pointer(sp).
Below is the picture I got idea to draw the runtime env. But there is no recursion in the example.
I tried with examples which use recursion, by the way I need to correct my tryouts, if you can comment or answer it would be a great help :)