22C:50 Section 2, Fall 2000
Due Wednesday Sept 6, 2000, in class
Douglas W. Jones
Do problem 2 at the end of Chapter 3.
Do problem 6 at the end of Chapter 3.
Do problem 7 at the end of Chapter 2 and problem 10 parts a and b from the
end of chapter 3. Combine your answers into one code fragment. You may
change things into the language of your choice, and you are not required
to compile and execute your code, but only to patch the code that was
given to operate as required.
Advance Warning of Machine Problem 1
The machine problem will be to write an assembler for the sample assembly
- A top-down recursive descent parser, created using the cookbook
methods of chapter 2.
- A lexical analyzer, along the lines of chapter 2.
- A symbol-table, along the lines described in chapter 3.
You may code this in any programming language.