progs/fib.j
changeset 609 e33545bb2eba
parent 600 d488a3e7b0ec
child 612 7a12053567d4
--- a/progs/fib.j	Tue Nov 20 13:37:40 2018 +0000
+++ b/progs/fib.j	Tue Nov 27 00:45:26 2018 +0000
@@ -55,7 +55,7 @@
    .limit locals 200
    .limit stack 200
 
-invokestatic fib/fib/read()I
+ldc 10
 istore 0
 ldc 0
 istore 1
@@ -64,11 +64,11 @@
 ldc 0
 istore 3
 
-Loop_begin_2:
+Loop_begin_0:
 
 ldc 0
 iload 0
-if_icmpge Loop_end_3
+if_icmpge Loop_end_1
 iload 2
 istore 3
 iload 1
@@ -81,9 +81,9 @@
 ldc 1
 isub
 istore 0
-goto Loop_begin_2
+goto Loop_begin_0
 
-Loop_end_3:
+Loop_end_1:
 
 iload 1
 invokestatic fib/fib/write(I)V