equal
deleted
inserted
replaced
811 \begin{lstlisting}[language=JVMIS,mathescape, |
811 \begin{lstlisting}[language=JVMIS,mathescape, |
812 numbers=none,xleftmargin=-6mm] |
812 numbers=none,xleftmargin=-6mm] |
813 .method public static write(I)V |
813 .method public static write(I)V |
814 .limit locals 1 |
814 .limit locals 1 |
815 .limit stack 2 |
815 .limit stack 2 |
816 getstatic java/lang/System/out |
816 getstatic java/lang/System/out Ljava/io/PrintStream; |
817 Ljava/io/PrintStream; |
|
818 iload 0 |
817 iload 0 |
819 invokevirtual java/io/PrintStream/println(I)V |
818 invokevirtual java/io/PrintStream/println(I)V |
820 return |
819 return |
821 .end method |
820 .end method |
822 |
821 |
837 \begin{lstlisting}[language=JVMIS,mathescape, |
836 \begin{lstlisting}[language=JVMIS,mathescape, |
838 numbers=none,xleftmargin=-6mm] |
837 numbers=none,xleftmargin=-6mm] |
839 .class public XXX.XXX |
838 .class public XXX.XXX |
840 .super java/lang/Object |
839 .super java/lang/Object |
841 |
840 |
842 .method public <init>()V |
841 ... |
843 aload_0 |
|
844 invokenonvirtual java/lang/Object/<init>()V |
|
845 return |
|
846 .end method |
|
847 |
842 |
848 .method public static main([Ljava/lang/String;)V |
843 .method public static main([Ljava/lang/String;)V |
849 .limit locals 200 |
844 .limit locals 200 |
850 .limit stack 200 |
845 .limit stack 200 |
851 |
846 |
852 $\textit{\ldots{}here comes the compiled code\ldots}$ |
847 $\textit{\ldots{}here comes the compiled code\ldots}$ |
853 |
848 |
854 return |
849 return |
855 .end method |
850 .end method |
856 \end{lstlisting} |
851 \end{lstlisting} |
|
852 |
|
853 %.method public <init>()V |
|
854 % aload_0 |
|
855 % invokenonvirtual java/lang/Object/<init>()V |
|
856 % return |
|
857 %.end method |
|
858 |
857 |
859 |
858 \end{frame} |
860 \end{frame} |
859 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
861 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
860 |
862 |
861 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
863 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |