-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathPascal.j
More file actions
34 lines (34 loc) · 684 Bytes
/
Pascal.j
File metadata and controls
34 lines (34 loc) · 684 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
.bytecode 50.0
.class public Pascal
.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 6
.limit locals 1
ldc 1
ldc 2
isub
iflt LabelTrue0
bipush 0
goto LabelCompEnd0
LabelTrue0:
bipush 1
LabelCompEnd0:
ifeq LabelIfElse0
getstatic java/lang/System/out Ljava/io/PrintStream;
ldc 1
invokevirtual java/io/PrintStream/println(I)V
goto LabelIfElseEnd0
LabelIfElse0:
getstatic java/lang/System/out Ljava/io/PrintStream;
ldc 0
invokevirtual java/io/PrintStream/println(I)V
LabelIfElseEnd0:
return
.end method