-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path12.j
More file actions
56 lines (56 loc) · 921 Bytes
/
12.j
File metadata and controls
56 lines (56 loc) · 921 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
45
46
47
48
49
50
51
52
53
54
55
56
.bytecode 50.0
.class public tests/12
.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 7
.limit locals 5
ldc 0
istore 1
ldc 600
istore 3
iload 1
iload 3
isub
ifgt LabelTrue0
bipush 0
goto LabelCompEnd0
LabelTrue0:
bipush 1
LabelCompEnd0:
istore 4
LabelWhileUp0:
iload 1
iload 3
isub
iflt LabelTrue1
bipush 0
goto LabelCompEnd1
LabelTrue1:
bipush 1
LabelCompEnd1:
ifeq LabelWhileDown0
iload 1
ldc 1
iload 1
iadd
ineg
isub
istore 1
getstatic java/lang/System/out Ljava/io/PrintStream;
iload 1
invokevirtual java/io/PrintStream/println(I)V
goto LabelWhileUp0
LabelWhileDown0:
LabelBreakDown0:
getstatic java/lang/System/out Ljava/io/PrintStream;
bipush 0
invokevirtual java/io/PrintStream/println(Z)V
return
.end method