equal
deleted
inserted
replaced
|
1 |
|
2 .class public fib.fib |
|
3 .super java/lang/Object |
|
4 |
|
5 .method public <init>()V |
|
6 aload_0 |
|
7 invokenonvirtual java/lang/Object/<init>()V |
|
8 return |
|
9 .end method |
|
10 |
|
11 .method public static write(I)V |
|
12 .limit locals 5 |
|
13 .limit stack 5 |
|
14 iload 0 |
|
15 getstatic java/lang/System/out Ljava/io/PrintStream; |
|
16 swap |
|
17 invokevirtual java/io/PrintStream/println(I)V |
|
18 return |
|
19 .end method |
|
20 |
|
21 |
|
22 .method public static main([Ljava/lang/String;)V |
|
23 .limit locals 200 |
|
24 .limit stack 200 |
|
25 |
|
26 ldc 19 |
|
27 istore 0 |
|
28 ldc 0 |
|
29 istore 1 |
|
30 ldc 1 |
|
31 istore 2 |
|
32 |
|
33 Loop_begin_0: |
|
34 |
|
35 ldc 0 |
|
36 iload 0 |
|
37 if_icmpge Loop_end_1 |
|
38 iload 2 |
|
39 istore 3 |
|
40 iload 1 |
|
41 iload 2 |
|
42 iadd |
|
43 istore 2 |
|
44 iload 3 |
|
45 istore 1 |
|
46 iload 0 |
|
47 ldc 1 |
|
48 isub |
|
49 istore 0 |
|
50 goto Loop_begin_0 |
|
51 |
|
52 Loop_end_1: |
|
53 |
|
54 iload 2 |
|
55 invokestatic fib/fib/write(I)V |
|
56 |
|
57 |
|
58 return |
|
59 |
|
60 .end method |