-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path6.j
More file actions
72 lines (72 loc) · 1.16 KB
/
6.j
File metadata and controls
72 lines (72 loc) · 1.16 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
.bytecode 50.0
.class public tests/6
.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 10
.limit locals 7
ldc 10
istore 4
iload 4
ldc 3
irem
ldc 3
imul
ldc 2
idiv
istore 5
getstatic java/lang/System/out Ljava/io/PrintStream;
iload 5
invokevirtual java/io/PrintStream/println(I)V
ldc 1
istore 6
bipush 1
istore 1
LabelWhileUp0:
iload 4
iload 6
isub
ifge LabelTrue0
bipush 0
goto LabelCompEnd0
LabelTrue0:
bipush 1
LabelCompEnd0:
ifeq LabelWhileDown0
iload 4
iload 6
isub
istore 4
getstatic java/lang/System/out Ljava/io/PrintStream;
iload 4
invokevirtual java/io/PrintStream/println(I)V
iload 4
iload 6
ldc 1
iadd
isub
ifle LabelTrue1
bipush 0
goto LabelCompEnd1
LabelTrue1:
bipush 1
LabelCompEnd1:
ifeq LabelIfElse1
goto LabelBreakDown0
goto LabelIfElseEnd1
LabelIfElse1:
getstatic java/lang/System/out Ljava/io/PrintStream;
iload 1
invokevirtual java/io/PrintStream/println(Z)V
LabelIfElseEnd1:
goto LabelWhileUp0
LabelWhileDown0:
LabelBreakDown0:
return
.end method