--- a/handouts/ho07.tex Tue Nov 17 04:38:01 2015 +0000
+++ b/handouts/ho07.tex Tue Nov 17 04:53:14 2015 +0000
@@ -578,6 +578,23 @@
work harder and find out appropriate values for the stack and
local variables.
+To sum up, in Figure~\ref{test} is the complete code generated
+for the slightly non-sensical program
+
+\begin{lstlisting}[mathescape,language=While]
+x := 1 + 2;
+write x
+\end{lstlisting}
+
+\noindent Having this code at our disposal, we need the
+assembler to translate the generated code into bytecode (a
+class file) that can be understood by the JVM.
+
+
+\begin{figure}[p]
+\lstinputlisting{../progs/test-small.j}
+\caption{Generated code for a test program.\label{test}}
+\end{figure}
\end{document}