progs/test-small.j
author Christian Urban <urbanc@in.tum.de>
Tue, 04 Feb 2020 09:31:18 +0000
changeset 711 6f3f3dd01786
parent 710 183663740fb7
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