progs/while/test-small.j
author Christian Urban <christian.urban@kcl.ac.uk>
Wed, 18 Nov 2020 12:18:33 +0000
changeset 808 ba3edaf7dc49
child 809 2b9956d29038
permissions -rw-r--r--
updated

.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