diff -r 7182786d9c68 -r 6622bd256029 slides/slides08.tex --- a/slides/slides08.tex Tue Nov 19 23:38:49 2013 +0000 +++ b/slides/slides08.tex Tue Nov 19 23:44:49 2013 +0000 @@ -227,12 +227,15 @@ \mode{ \begin{frame}[c] \frametitle{Assembly Code} -\mbox{}\\[-20mm]\mbox{} +\mbox{}\\[-12mm]\mbox{} \begin{center} -\includegraphics[scale=0.7]{../pics/assembly.jpg} +\includegraphics[scale=0.65]{../pics/assembly.jpg} \end{center} +\small\mbox{}\\[-10mm] +Jasmin assembler for Java bytecode + \end{frame}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -847,7 +850,27 @@ \end{frame}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\mode{ +\begin{frame}[c] +\frametitle{Backend} +\begin{center} +\begin{tikzpicture} +\node (rexp) {\bl{\bf Lexer}}; +\node (nfa) [right=of rexp] {\bl{\bf Parser}}; +\node (dfa) [right=of nfa] {\bl{\begin{tabular}{c}\bf Optimizations\end{tabular}}}; +\path[->, red, line width=2mm] (rexp) edge node [above=4mm, black] {\begin{tabular}{c@{\hspace{9mm}}}token\\[-1mm] +sequence\end{tabular}} (nfa); +\node (final) [below=of dfa] {\bl{\begin{tabular}{c}\bf Machine Code/\\\bf Byte Code\end{tabular}}}; +\path[->, red, line width=2mm] (nfa) edge node [above=4mm, black] {\begin{tabular}{c}parse\\[-1mm] tree +\end{tabular}}(dfa); +\path[->, red, line width=2mm] (dfa) edge (final); +\end{tikzpicture}\\ +\end{center} + +\end{frame}} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \mode{