
diff -r d6af4b1239de -r b018234c9126 coursework/cw04.tex
--- a/coursework/cw04.tex	Tue Nov 17 01:58:50 2015 +0000
+++ b/coursework/cw04.tex	Tue Nov 17 04:02:08 2015 +0000
@@ -238,11 +238,10 @@
 \begin{minipage}{12cm}
 \begin{lstlisting}[language=JVMIS, numbers=none]
 .method public static write(I)V 
-    .limit locals 5 
-    .limit stack 5 
-    iload 0 
+    .limit locals 1 
+    .limit stack 2  
     getstatic java/lang/System/out Ljava/io/PrintStream; 
-    swap 
+    iload 0
     invokevirtual java/io/PrintStream/println(I)V 
     return 
 .end method




