[10 pts] Inspect the following diagram that shows the main() subroutine and a subroutine sub() that it calls. The diagra
Posted: Sat May 14, 2022 7:22 pm
[10 pts] Inspect the following diagram that shows the main()
subroutine and a subroutine sub() that it calls. The diagram shows
four sections of code labeled A, B, C, and D that implement
stack-based subroutine linkage. Give the usual name for each
section of code and describe what it does: what registers it saves
or restores, what it does with the stack, and how it passes
control.
subroutine and a subroutine sub() that it calls. The diagram shows
four sections of code labeled A, B, C, and D that implement
stack-based subroutine linkage. Give the usual name for each
section of code and describe what it does: what registers it saves
or restores, what it does with the stack, and how it passes
control.