Quiz! • Books and papers put away • Hats off or brims turned backwards • Piece of paper out - Name and Student ID on it • Your work is your own - Eyes on your own paper - Protect your own paper - Turn your paper over when you’re done • You have 10 minutes after explanation • Turn in papers on first pass by your aisle
Quiz – Code Gen Bridging Concepts Last week I introduced the idea of the Bridging Concept to help with compilation from a modern programming language to a modern computer architecture. Question: 1. Explain what a bridging concept is for compilation and why it is important. 2. What is the base + offset bridging concept, and what difficulty does it help resolve in compilation. 3. Give an example of the application of the base + offset bridging concept. You can answer these in any order and cross- reference, but please number them properly.
Project 2 – Code Generation • Now will generate assembler that will execute • A subset of Oberon from Project 1 - No reals, no FOR loop, … • Project will be graded on: a. running compiler on input Oberon programs b. running generated assembler programs c. comparing output with our expected output input SPARC SPARC foo.obe assembler executable grading grading your compiler cc execute your compiler cc execute program program
Project 2 Question Sharing • Turn to a neighbor and discuss something about the Code Gen project • Then share with class • We’ll discuss
Recommend
More recommend