Thursday, January 17, 2008

LP Exercise 10 (additional info)

The assumptions for Problems 2 were not sufficient. Please use the following code for the first few lines:

case CHAR-STRING: /* handles a[i] */
  t1 <- expr(i);
        /* t1 is assigned the register name having 
        the value of i */
  t2 <- base(a);
        /* t2 is assigned the register name having 
        the address of a[0]* /

No comments: