-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnestedWhile.j~
More file actions
53 lines (53 loc) · 753 Bytes
/
nestedWhile.j~
File metadata and controls
53 lines (53 loc) · 753 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
.bytecode 50.0
.class public nestedWhile
.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 5
.limit locals 3
ldc 8
istore 1
ldc 25
istore 2
LabelWhile0:
ldc 100
iload 1
isub
ifeq LabelTrue0
bipush 0
goto LabelCompare1
LabelTrue0:
bipush 1
LabelCompareEnd1:
ifeq LabelWhileEnd0
LabelWhile1:
ldc 25
iload 2
isub
ifeq LabelTrue1
bipush 0
goto LabelCompare2
LabelTrue1:
bipush 1
LabelCompareEnd2:
ifeq LabelWhileEnd1
iload 1
ldc 1
iadd
istore 1
iload 2
ldc 1
isub
istore 2
goto LabelWhile1
LabelWhileEnd0:
goto LabelWhile0
LabelWhileEnd1:
return
.end method