### A good answer might be:

No, not that! I meant to say useful and interesting.

Here is my list of things that future gear heads might like to try:

1. Put statements in the print subroutine that alter data in the struct.
2. Write a subroutine that copies data from one struct to another. The subroutine will have two arguments, the address of each struct.
3. Write a subroutine that swaps the values of two structs.
4. Put more fields in the struct and modify all the routines.

# End of Chapter

Click on one of the following links to go to its discussion.

- Review of MIPS memory layout.
- The heap.
- Dynamic Memory Allocation
- SPIM trap handler memory allocation.
- Records and structs
- Fields in a struct
- Address of a stuct as a subroutine argument

Click Here to return to the Menu

You have reached the end of the chapter.