progs/test-small.j
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 14 Dec 2020 19:22:12 +0000
changeset 818 6928a677d26f
parent 711 6f3f3dd01786
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
$\mbox{}\hfill\tikz[remember picture] \node[] (LA) {};$  ldc 1 
   ldc 2
   iadd        
$\tikz[remember picture] \node[] (LB) {};$  istore 0 
$\tikz[remember picture] \node[] (LC) {};$  iload 0     
$\tikz[remember picture] \node[] (LD) {};$  invokestatic test/test/write(I)V 
   return
.end method