Using the stack to pass parameters and accessing the variable using the stack pointer