PLDB
Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

Java Bytecode

Java Bytecode

Java Bytecode is a bytecode created in 1995.

#212on PLDB 27Years Old 1.5kUsers
0Books 0Papers

Java bytecode is the instruction set of the Java virtual machine (JVM).. Read more on Wikipedia...


Example from Wikipedia:
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

Language features

Feature Supported Example Token
Comments
// A comment
Line Comments
// A comment
//
Semantic Indentation ϴ
ibm-rpg.html · java-bytecode.html · qbasic.html

View source

PLDB - Build the next great programming language · v2022 · Day 31 · Docs · Build · Acknowledgements · Traffic Today · Traffic Trends · Mirrors · GitHub · feedback@pldb.com