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:
Post a Comment