0

I need to represent in MIPS assembly a simple struct like :

 struct  User {
       int  id;       
       char name[8];
       int  age;
       int  average_vote;       
   }User;

I also need to put and delete (by id) this user in a queue

Robert Nubel
  • 7,104
  • 1
  • 18
  • 30
Qu4sar
  • 64
  • 2
  • 11
  • Allocate enough storage, then access the fields with an offset. – Jester May 12 '16 at 15:28
  • To see an example of how to define/use a struct in MIPS, see my answer here: https://stackoverflow.com/questions/36538325/mips-linked-list/36560575#36560575 – Craig Estey May 12 '16 at 19:57

0 Answers0