slides/slides08.tex
changeset 197 6622bd256029
parent 196 7182786d9c68
child 215 828303e8e4af
equal deleted inserted replaced
196:7182786d9c68 197:6622bd256029
   225  
   225  
   226  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   226  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   227 \mode<presentation>{
   227 \mode<presentation>{
   228 \begin{frame}[c]
   228 \begin{frame}[c]
   229 \frametitle{Assembly Code}
   229 \frametitle{Assembly Code}
   230 \mbox{}\\[-20mm]\mbox{}
   230 \mbox{}\\[-12mm]\mbox{}
   231 
   231 
   232 \begin{center}
   232 \begin{center}
   233 \includegraphics[scale=0.7]{../pics/assembly.jpg}
   233 \includegraphics[scale=0.65]{../pics/assembly.jpg}
   234 \end{center}
   234 \end{center}
       
   235 
       
   236 \small\mbox{}\\[-10mm]
       
   237 Jasmin assembler for Java bytecode
   235 
   238 
   236 \end{frame}}
   239 \end{frame}}
   237  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
   240  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
   238 
   241 
   239 
   242 
   845 \end{center}
   848 \end{center}
   846 
   849 
   847 \end{frame}}
   850 \end{frame}}
   848 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
   851 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
   849 
   852 
   850 
   853 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
   854 \mode<presentation>{
       
   855 \begin{frame}[c]
       
   856 \frametitle{Backend}
       
   857 
       
   858 \begin{center}
       
   859 \begin{tikzpicture}
       
   860 \node (rexp)  {\bl{\bf Lexer}};
       
   861 \node (nfa) [right=of rexp] {\bl{\bf Parser}};
       
   862 \node (dfa) [right=of nfa] {\bl{\begin{tabular}{c}\bf Optimizations\end{tabular}}};
       
   863 \path[->, red, line width=2mm] (rexp) edge node [above=4mm, black] {\begin{tabular}{c@{\hspace{9mm}}}token\\[-1mm]
       
   864 sequence\end{tabular}} (nfa);
       
   865 \node (final) [below=of dfa] {\bl{\begin{tabular}{c}\bf Machine Code/\\\bf Byte Code\end{tabular}}};
       
   866 \path[->, red, line width=2mm] (nfa) edge node [above=4mm, black] {\begin{tabular}{c}parse\\[-1mm] tree
       
   867 \end{tabular}}(dfa);
       
   868 \path[->, red, line width=2mm] (dfa) edge (final);
       
   869 \end{tikzpicture}\\
       
   870 \end{center}
       
   871 
       
   872 \end{frame}}
       
   873 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
   851 
   874 
   852 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   875 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   853 \mode<presentation>{
   876 \mode<presentation>{
   854 \begin{frame}[t]
   877 \begin{frame}[t]
   855 \frametitle{\begin{tabular}{c}What Next\end{tabular}}
   878 \frametitle{\begin{tabular}{c}What Next\end{tabular}}