-
Notifications
You must be signed in to change notification settings - Fork 0
/
Main.j
executable file
·46 lines (31 loc) · 974 Bytes
/
Main.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
.class public main
.super java/lang/Object
.method public static main([Ljava/lang/String;)V
.limit locals 2
.limit stack 5
ldc 7.0
ldc 3.0
fmul
ldc -1.0
fadd
fstore 0
getstatic java/lang/System/out Ljava/io/PrintStream;
ldc "var d is equal to"
invokestatic java/lang/String/valueOf(F)Ljava/lang/String;
invokevirtual java/io/PrintStream/println(Ljava/lang/String;)V
getstatic java/lang/System/out Ljava/io/PrintStream;
fload 0
invokestatic java/lang/String/valueOf(F)Ljava/lang/String;
invokevirtual java/io/PrintStream/println(Ljava/lang/String;)V
ldc 9.0
fstore 0
getstatic java/lang/System/out Ljava/io/PrintStream;
ldc "now it is"
invokestatic java/lang/String/valueOf(F)Ljava/lang/String;
invokevirtual java/io/PrintStream/println(Ljava/lang/String;)V
getstatic java/lang/System/out Ljava/io/PrintStream;
fload 0
invokestatic java/lang/String/valueOf(F)Ljava/lang/String;
invokevirtual java/io/PrintStream/println(Ljava/lang/String;)V
return
.end method