progs/while/test-small.j
changeset 808 ba3edaf7dc49
child 809 2b9956d29038
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/progs/while/test-small.j	Wed Nov 18 12:18:33 2020 +0000
@@ -0,0 +1,20 @@
+.class public test.test
+.super java/lang/Object
+
+.method public static write(I)V 
+    .limit locals 1 
+    .limit stack 2
+    getstatic java/lang/System/out Ljava/io/PrintStream; 
+    iload 0 
+    invokevirtual java/io/PrintStream/println(I)V 
+    return 
+.end method
+
+.method public static main([Ljava/lang/String;)V
+   .limit locals 200
+   .limit stack 200
+
+   bipush 8
+   invokestatic test/test/write(I)V 
+   return
+.end method
\ No newline at end of file