-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.disasm.j
156 lines (143 loc) · 3.47 KB
/
test.disasm.j
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
.class public synchronized fest
.super java/lang/Object
.field public static final wee LLispNumber;
.field public static final fisk LLispChar;
.field public static final asfd Ljava/lang/String; = "hej"
.field public static final ya Ljava/lang/String; = "fiskus"
.field public static final lolf Ljava/lang/Double;
.field public static final rolf Ljava/lang/Double;
.field public static final kolf Ljava/lang/Double;
.method public <init>()V
.limit locals 1
.limit stack 1
aload_0
invokenonvirtual java/lang/Object.<init>()V
return
.end method
.method public lollerskates()Z
.limit locals 1
.limit stack 1
iconst_1
ireturn
.end method
.method public static final fisk()Z
.limit locals 0
.limit stack 2
getstatic java/lang/System/out Ljava/io/PrintStream;
ldc "fisk"
invokevirtual java/io/PrintStream.println(Ljava/lang/String;)V
iconst_1
ireturn
.end method
.method public static main([Ljava/lang/String;)V
.limit locals 13
.limit stack 7
ldc2_w 2147483647
lstore_1
ldc2_w 3
lstore_3
lload_1
l2i
istore 5
lload_1
bipush 32
lushr
l2i
istore 6
lload_3
l2i
istore 7
lload_3
bipush 32
lushr
l2i
istore 8
iload 5
i2l
iload 7
i2l
lmul
lstore 9
iload 6
i2l
iload 8
i2l
lmul
lstore 11
getstatic java/lang/System/out Ljava/io/PrintStream;
lload 9
ldc2_w -1
land
lload 11
ldc2_w -1
land
ladd
invokevirtual java/io/PrintStream.println(J)V
lload 9
ldc2_w 0
land
lconst_0
lcmp
ifne L89
lload 11
ldc2_w 0
land
lconst_0
lcmp
ifeq L97
L89:
getstatic java/lang/System/out Ljava/io/PrintStream;
ldc "Overflowzor"
invokevirtual java/io/PrintStream.println(Ljava/lang/String;)V
L97:
getstatic java/lang/System/out Ljava/io/PrintStream;
new java/lang/StringBuilder
dup
invokenonvirtual java/lang/StringBuilder.<init>()V
ldc ""
invokevirtual java/lang/StringBuilder.append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokestatic java/lang/Math.random()D
invokevirtual java/lang/StringBuilder.append(D)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java/lang/StringBuilder.append(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic fest/lolf Ljava/lang/Double;
invokevirtual java/lang/StringBuilder.append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java/lang/StringBuilder.append(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic fest/rolf Ljava/lang/Double;
invokevirtual java/lang/StringBuilder.append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java/lang/StringBuilder.append(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic fest/kolf Ljava/lang/Double;
invokevirtual java/lang/StringBuilder.append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java/lang/StringBuilder.toString()Ljava/lang/String;
invokevirtual java/io/PrintStream.println(Ljava/lang/String;)V
return
.end method
.method static <clinit>()V
.limit locals 0
.limit stack 123
ldc "123.4"
invokestatic LispNumber.parse(Ljava/lang/String;)LLispNumber;
putstatic fest/wee LLispNumber;
new LispChar
dup
bipush 60
invokenonvirtual LispChar.<init>(C)V
putstatic fest/fisk LLispChar;
; ldc2_w nand.0
; ldc2_w NaNd
; ldc2_w 0.2d
dconst_0
dconst_0
ddiv
invokestatic java/lang/Double.valueOf(D)Ljava/lang/Double;
putstatic fest/lolf Ljava/lang/Double;
ldc2_w 12.4d
invokestatic java/lang/Double.valueOf(D)Ljava/lang/Double;
putstatic fest/rolf Ljava/lang/Double;
dconst_1
invokestatic java/lang/Double.valueOf(D)Ljava/lang/Double;
putstatic fest/kolf Ljava/lang/Double;
return
.end method