Question: Use STACK for storing the return address for a procedure return of the following program given below. Show the contents of stack following each CALL

Use STACK for storing the return address for a procedure return of the following program given below. Show the contents of stack following each CALL and RETURN instructions: Main Program Memory Address Instructions 7000H 7050H CALL Proc 3 7080H CALL Proc 2 END Procedure 3 Memory Address Instructions 3000H 3060H CALL Proc 2 RETURN Procedure 2 Memory Address Instructions 5000H 5030H CALL Proc 1 5100H RETURN Procedure 1 Instructions Memory Address 8000H RETURN
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
