Untitled

 avatar
unknown
java
10 months ago
1.5 kB
3
Indexable
    .class public Main
    .super java/lang/Object
.method public static main([Ljava/lang/String;)V
.limit stack 100
.limit locals 100
    ldc 10
    istore 1
    ForStart1:
        ldc 0
        istore 2
        ForCond1:
        iload 2
        iload 1
        if_icmplt lessThanLabel0
        iconst_0
        goto endLabel0
        lessThanLabel0:
        iconst_1
        endLabel0:
        ifeq ForEnd1
        goto ForBody1
        ForUpdate1:
        iinc 2 1
        goto ForCond1
        ForBody1:
        getstatic java/lang/System/out Ljava/io/PrintStream;
        ldc "Hello world"
        invokevirtual java/io/PrintStream/print(Ljava/lang/String;)V
        getstatic java/lang/System/out Ljava/io/PrintStream;
        invokevirtual java/io/PrintStream/println()V
        goto ForUpdate1
        ForEnd1:
    ForStart2:
        ForCond2:
        iload 1
        ldc 0
        if_icmpge greaterThanOrEqualToLabel1
        iconst_0
        goto endLabel1
        greaterThanOrEqualToLabel1:
        iconst_1
        endLabel1:
        ifeq ForEnd2
        goto ForBody2
        ForUpdate2:
        ldc 1
        isub
        istore 1
        goto ForCond2
        ForBody2:
        getstatic java/lang/System/out Ljava/io/PrintStream;
        ldc "apple!"
        invokevirtual java/io/PrintStream/print(Ljava/lang/String;)V
        getstatic java/lang/System/out Ljava/io/PrintStream;
        invokevirtual java/io/PrintStream/println()V
        goto ForUpdate2
        ForEnd2:
    ldc 0
    return
    .end method
Editor is loading...
Leave a Comment