Java Reference
In-Depth Information
Exercise 6.26. (Involved) Introduce the float and double types of constants, variables
and operations into the HIR, the LIR and SPIM. This assumes you have already added
them to j--. Notice that this will complicate all portions of your JVM-to-SPIM translation
and will require using the special floating-point processor and registers, which are fully
documented in [Larus, 2009].
Exercise 6.27. (Involved) Implement exception handling in the HIR, the LIR, and SPIM.
This assumes you have already added exception handling to j--. Notice that this will com-
plicate all portions of your JVM-to-SPIM translation and will require using the special
exception handling instructions, which are fully documented in [Larus, 2009].
Exercise 6.28. (Involved) Read up on and implement a (relatively) simple copy form of
garbage collection. See the section on Further Readings for starting points to learning about
garbage collection.
 
Search WWH ::




Custom Search