52 lines
1.4 KiB
Plaintext
52 lines
1.4 KiB
Plaintext
C0 C0 FF EE # magic number
|
|
00 09 # version 4, arch = 1 (64 bits)
|
|
|
|
00 01 # int pool count
|
|
# int pool
|
|
00 00 3B 12
|
|
|
|
00 00 # string pool total size
|
|
# string pool
|
|
|
|
00 01 # function count
|
|
# function_pool
|
|
|
|
#<main>
|
|
00 00 # number of arguments = 0
|
|
00 03 # number of local variables = 3
|
|
00 34 # code length = 52 bytes
|
|
13 00 00 # ildc 0 # c[0] = 15122
|
|
36 00 # vstore 0 # n = 15122;
|
|
10 00 # bipush 0 # 0
|
|
36 01 # vstore 1 # i = 0;
|
|
10 00 # bipush 0 # 0
|
|
36 02 # vstore 2 # k = 0;
|
|
# <00:loop>
|
|
15 02 # vload 2 # k
|
|
15 00 # vload 0 # n
|
|
A4 00 06 # if_icmple +6 # if (k <= n) goto <01:body>
|
|
A7 00 1A # goto +26 # goto <02:exit>
|
|
# <01:body>
|
|
15 02 # vload 2 # k
|
|
10 02 # bipush 2 # 2
|
|
15 01 # vload 1 # i
|
|
68 # imul # (2 * i)
|
|
10 01 # bipush 1 # 1
|
|
60 # iadd # ((2 * i) + 1)
|
|
60 # iadd #
|
|
36 02 # vstore 2 # k += ((2 * i) + 1);
|
|
15 01 # vload 1 # i
|
|
10 01 # bipush 1 # 1
|
|
60 # iadd #
|
|
36 01 # vstore 1 # i += 1;
|
|
A7 FF E2 # goto -30 # goto <00:loop>
|
|
# <02:exit>
|
|
15 01 # vload 1 # i
|
|
10 01 # bipush 1 # 1
|
|
64 # isub # (i - 1)
|
|
B0 # return #
|
|
|
|
00 00 # native count
|
|
# native pool
|
|
|