Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

📚 The CoCalc Library - books, templates and other resources

132931 views
License: OTHER
1
Compiled from "SimpleLoop.java"
2
public class SimpleLoop extends java.lang.Object{
3
public SimpleLoop();
4
Code:
5
0: aload_0
6
1: invokespecial #1; //Method java/lang/Object."<init>":()V
7
4: return
8
9
public static void main(java.lang.String[]);
10
Code:
11
0: bipush -5
12
2: istore_1 /* Speichere einen int-Wert in das Array der lokalen Variablen */
13
3: iload_1 /* Lade den int-Wert einer lokalen Variablen auf den Operandenstapel */
14
4: bipush 15 /* lege 15 auf den Operandenstapel */
15
6: if_icmpge 46 /* if_icmpge pops the top two ints off the stack
16
and compares them. If value2 is greater than or equal to value1,
17
execution branches to the address (pc + branchoffset), where pc
18
is the address of the if_icmpge opcode in the bytecode and branchoffset
19
is a 16-bit signed integer parameter following the if_icmpge opcode in
20
the bytecode. If value2 is less than value1, execution continues at the
21
next instruction.*/
22
9-37: /* String erstellen, i*i berechnen, String ausgeben */
23
40: iinc 1, 1 /* iinc <varnum> <n> increments the int held in the local variable <varnum> by <n> */
24
43: goto 3
25
46: return
26
27
}
28
29