-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
java-bytecode.scroll
58 lines (51 loc) · 1.3 KB
/
java-bytecode.scroll
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
import ../code/conceptPage.scroll
id java-bytecode
name Java Bytecode
appeared 1995
tags bytecode
fileType text
documentation https://docs.oracle.com/javase/specs/jvms/se7/html/
centralPackageRepositoryCount 0
country United States
originCommunity Oracle Corporation
lineCommentToken //
hasLineComments true
// A comment
hasComments true
// A comment
hasSemanticIndentation false
wikipedia https://en.wikipedia.org/wiki/Java_bytecode
example
0: iconst_2
1: istore_1
2: iload_1
3: sipush 1000
6: if_icmpge 44
9: iconst_2
10: istore_2
11: iload_2
12: iload_1
13: if_icmpge 31
16: iload_1
17: iload_2
18: irem
19: ifne 25
22: goto 38
25: iinc 2, 1
28: goto 11
31: getstatic #84; // Field java/lang/System.out:Ljava/io/PrintStream;
34: iload_1
35: invokevirtual #85; // Method java/io/PrintStream.println:(I)V
38: iinc 1, 1
41: goto 2
44: return
related jvm java assembly-language c coldfusion jruby jython ruby python groovy scala ada clojure lisp javafx-script kotlin object-pascal free-pascal cil
summary Java bytecode is the instruction set of the Java virtual machine (JVM).
pageId 38321273
dailyPageViews 302
created 2005
backlinksCount 175
revisionCount 373
appeared 1995
isbndb 0
semanticScholar 0