[prev] 29 [next]

Exercise 6: Passing structs by reference

Write a MIPS function that reads in data for 2 persons and then calls the print function on each person:

typedef struct _Person {
   int  id_no;
   char family[15];
   char given[15];
} Person;