-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path13.j
More file actions
118 lines (118 loc) · 2.03 KB
/
13.j
File metadata and controls
118 lines (118 loc) · 2.03 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
.bytecode 50.0
.class public tests/13
.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 21
.limit locals 6
bipush 1
istore 1
ldc 1
istore 2
ldc 0
istore 5
ldc 0
istore 3
ldc 42
istore 4
iload 5
ldc 1
isub
ifeq LabelTrue0
bipush 0
goto LabelCompEnd0
LabelTrue0:
bipush 1
LabelCompEnd0:
ifeq LabelIfDown0
iload 2
iload 2
iadd
istore 4
iload 4
istore 3
getstatic java/lang/System/out Ljava/io/PrintStream;
iload 2
invokevirtual java/io/PrintStream/println(I)V
iload 5
ldc 2
isub
iflt LabelTrue1
bipush 0
goto LabelCompEnd1
LabelTrue1:
bipush 1
LabelCompEnd1:
ifeq LabelIfDown1
iload 2
ldc 1
iadd
istore 2
iload 4
ldc 2
iadd
istore 4
LabelIfDown1:
LabelIfDown0:
getstatic java/lang/System/out Ljava/io/PrintStream;
iload 3
invokevirtual java/io/PrintStream/println(I)V
iload 5
ldc 4
isub
ifgt LabelTrue2
bipush 0
goto LabelCompEnd2
LabelTrue2:
bipush 1
LabelCompEnd2:
ifeq LabelIfElse2
getstatic java/lang/System/out Ljava/io/PrintStream;
iload 2
invokevirtual java/io/PrintStream/println(I)V
getstatic java/lang/System/out Ljava/io/PrintStream;
iload 4
invokevirtual java/io/PrintStream/println(I)V
goto LabelIfElseEnd2
LabelIfElse2:
getstatic java/lang/System/out Ljava/io/PrintStream;
iload 3
invokevirtual java/io/PrintStream/println(I)V
getstatic java/lang/System/out Ljava/io/PrintStream;
iload 3
invokevirtual java/io/PrintStream/println(I)V
LabelIfElseEnd2:
getstatic java/lang/System/out Ljava/io/PrintStream;
iload 1
invokevirtual java/io/PrintStream/println(Z)V
ldc 0
istore 5
LabelWhileUp3:
iload 5
ldc 4
isub
iflt LabelTrue3
bipush 0
goto LabelCompEnd3
LabelTrue3:
bipush 1
LabelCompEnd3:
ifeq LabelWhileDown3
getstatic java/lang/System/out Ljava/io/PrintStream;
iload 2
invokevirtual java/io/PrintStream/println(I)V
iload 5
ldc 1
iadd
istore 5
goto LabelWhileUp3
LabelWhileDown3:
LabelBreakDown0:
return
.end method