Repeat Exercise 8.9.1 above using the syntax-directed translation scheme in Fig. 8.21 in place of the tree-rewriting scheme.
Exercise 8.9.1
Construct syntax trees for each of the following statements assuming all nonconstant operands are in memory locations:
Use the tree-rewriting scheme in Fig. 8.20 to generate code for each statement.
Fig. 8.20
Fig. 8.21
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here