author | Christian Urban <christian.urban@kcl.ac.uk> |
Sat, 23 Sep 2023 22:26:52 +0100 | |
changeset 926 | 42ecc3186944 |
parent 711 | 6f3f3dd01786 |
permissions | -rw-r--r-- |
375
bf36664a3196
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1 |
.class public test.test |
bf36664a3196
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
2 |
.super java/lang/Object |
bf36664a3196
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
3 |
|
bf36664a3196
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
4 |
.method public static write(I)V |
bf36664a3196
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
5 |
.limit locals 1 |
bf36664a3196
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
6 |
.limit stack 2 |
bf36664a3196
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
7 |
getstatic java/lang/System/out Ljava/io/PrintStream; |
bf36664a3196
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
8 |
iload 0 |
bf36664a3196
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
9 |
invokevirtual java/io/PrintStream/println(I)V |
bf36664a3196
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
10 |
return |
bf36664a3196
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
11 |
.end method |
bf36664a3196
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
12 |
|
bf36664a3196
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
13 |
.method public static main([Ljava/lang/String;)V |
bf36664a3196
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
14 |
.limit locals 200 |
bf36664a3196
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
15 |
.limit stack 200 |
708 | 16 |
$\mbox{}\hfill\tikz[remember picture] \node[] (LA) {};$ ldc 1 |
375
bf36664a3196
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
17 |
ldc 2 |
708 | 18 |
iadd |
19 |
$\tikz[remember picture] \node[] (LB) {};$ istore 0 |
|
20 |
$\tikz[remember picture] \node[] (LC) {};$ iload 0 |
|
21 |
$\tikz[remember picture] \node[] (LD) {};$ invokestatic test/test/write(I)V |
|
375
bf36664a3196
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
22 |
return |
710 | 23 |
.end method |