Lab 6: Code Generation

Lab Assigned Lab Due
(Start of class)
10 Apr 19 Apr


Abstract: You will generate code for simple expressions.
  • JavaDoc for the assignment is shipped with you in the zip file and is also available here
  • Here is what you have to do for this assignment. The code you develop will be part of your final project:
  • The skeleton code provided in CodeGenVisitor automatically calls the method main431(), so you don't have to handle the invoke instruction yet.
  • Be certain to modify and submit only the file CodeGenVisitor.java.