-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path3.j
More file actions
44 lines (44 loc) · 709 Bytes
/
3.j
File metadata and controls
44 lines (44 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
.bytecode 50.0
.class public tests/3
.super java/lang/Object
.method public <init>()V
.limit stack 1
.limit locals 1
aload_0
invokespecial java/lang/Object/<init>()V
return
.end method
.method public static main([Ljava/lang/String;)V
.limit stack 4
.limit locals 4
ldc 1
istore 2
ldc 1
istore 3
LabelWhileUp0:
iload 2
ldc 1000
isub
iflt LabelTrue0
bipush 0
goto LabelCompEnd0
LabelTrue0:
bipush 1
LabelCompEnd0:
ifeq LabelWhileDown0
getstatic java/lang/System/out Ljava/io/PrintStream;
iload 2
invokevirtual java/io/PrintStream/println(I)V
iload 3
istore 1
iload 2
iload 3
iadd
istore 3
iload 1
istore 2
goto LabelWhileUp0
LabelWhileDown0:
LabelBreakDown0:
return
.end method