This program will succession of functions. After the fourth call the program will show the system stack including the 5 activation records (AR) where each belongs to one of the five function of the program.
This program serves as an instructional aid to help visualize the system stack and its component parts.
The user may conduct experiments by adding or removing local variables within function. The run the program and watch the changes in the system stack.
There are two functions with almost the same name, namely: ar2.c and ar2.asm. The functions are interchangeable. Currently the bash file is set to create the executable using ar2.c. See inside the bash file how this was done.
Available for download: Download all 9 single files in 1 zipped file here: