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 1 |
|
13 .limit stack 2 |
|
14 getstatic java/lang/System/out Ljava/io/PrintStream; |
|
15 iload 0 |
|
16 i2c |
|
17 invokevirtual java/io/PrintStream/print(C)V |
|
18 return |
|
19 .end method |
|
20 |
|
21 .method public static main([Ljava/lang/String;)V |
|
22 .limit locals 200 |
|
23 .limit stack 200 |
|
24 |
|
25 ldc 10 |
|
26 istore 0 |
|
27 ldc 0 |
|
28 istore 1 |
|
29 ldc 1 |
|
30 istore 2 |
|
31 ldc 0 |
|
32 istore 3 |
|
33 |
|
34 Loop_begin_0: |
|
35 |
|
36 ldc 0 |
|
37 iload 0 |
|
38 if_icmpge Loop_end_1 |
|
39 iload 2 |
|
40 istore 3 |
|
41 iload 1 |
|
42 iload 2 |
|
43 iadd |
|
44 istore 2 |
|
45 iload 3 |
|
46 istore 1 |
|
47 iload 0 |
|
48 ldc 1 |
|
49 isub |
|
50 istore 0 |
|
51 goto Loop_begin_0 |
|
52 |
|
53 Loop_end_1: |
|
54 |
|
55 iload 1 |
|
56 invokestatic fib/fib/write(I)V |
|
57 |
|
58 |
|
59 return |
|
60 |
|
61 .end method |
|