due : Sept 26
Write a program with multiple functions. Some function calls
should be nested, some shouldn't.
The only things that has to
happen in the functions to create one or more variables,assign a
simple values, do some very simple math .
Run the program through gdb, step through the
program and submit to me a pdf of screen shots of
- the values of $rbp and $rsp right before
making the function call and immediately after function call.
- the disassambly of main and every function
- submit the values of $rsp and $rbp upon return from the function
calls.
- the printout of the entire memory in hex of the stack
before during and after each function call
- A written description of how the stack functions based on your understanding
from running through the gdb