English, asked by MukeshBaria, 1 month ago

Explain the use of stack for parameter passing in a subroutine/function call.​

Answers

Answered by ramkrishnanj10
0

Answer:

Explain the use of stack for parameter passing in a subroutine/function call.

Answered by diesh2323
0

Calling program pushes parameters on the stack one element at a time before calling subroutine. Subroutine Call (jsr, bsr) then pushes the return address on stack. bytes the parameters occupy, in order to clean up the stack and bring the Stack Pointer (SP) to its original position.

Similar questions