### A good answer might be:

The string buffer `line` is defined in `doLines`. No copy is made of the characters in the buffer. However, other subroutines have access to the buffer since its address is passed as an argument (in `$a0`) to them. This technique is very common in "C" although, of course, the syntax for doing it is different.

# End of the Chapter

You have reached the end this chapter. You may wish to review the following. Click on a subject that interests you to go to where it was discussed.

- Pushing and popping the return address.
- Pushing and popping registers.
- Stack-based Linkage Convention.
- The prolog and epilog of a subroutine.
- Activation of a subroutine.
- Activation chain.
- Algol and Pascal

Go to Table of Contents

You have reached the end of the chapter.