Question: A main program consists of two procedures begins at memory address $7000 mathrm{H}$. Procedure-1 begins at begins at $6000 mathrm{H}$ and Procedure-2 begins at $8000

 A main program consists of two procedures begins at memory address

A main program consists of two procedures begins at memory address $7000 \mathrm{H}$. Procedure-1 begins at begins at $6000 \mathrm{H}$ and Procedure-2 begins at $8000 \mathrm{H}$ respectively. Procedure- 1 is called within Procedure-2 at memory address $8050 \mathrm{H}$. In the main program Procedure-1 is called at $7040 \mathrm{H}$ and Procedure-2 is called twice: first at $7060 \mathrm{H} $ and then at $70 \mathrm{-A) 0 \mathrm{H} $. Please note that Stack is used to save return addresses at the instants of procedure calls. Show the state of Stack while the program runs. cs.vs. 1141||

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!