CMPE 152: Compiler Design April 18 – 30 Labs Department of Computer Engineering San Jose State University Spring 2019 Instructor: Ron Mak www.cs.sjsu.edu/~mak
Today’s Lab: Assignment #6 Code generation. declarations (at least two data types) assignment statements expressions control statements (at least an if statement and a looping statement) You should be able to: compile your program into Jasmin assembly code assemble and run the generated code produce runtime printed output, including the elapsed run time at the end
Today’s Lab: Assignment #6, cont’d Use Pcl2Cpp as a model. Override default visitor functions. Due: Wednesday, May 1.