tags:

views:

24

answers:

0

I was trying to generate a compiler(part there of) that will take a file(as of now, written in C ) and will generate the corresponding 3-address code for the file (into another file).

So if I have a structure of the form :

struct myStructure
  {
    int a;
    char c;
  }myStruct;

So What should be the symbol table for the above??

And if I write: myStruct.a=10;

What should be the 3-address code for the corresponding assignment??