C0 C0 FF EE # magic number 00 09 # version 4, arch = 1 (64 bits) 00 00 # int pool count # int pool 00 00 # string pool total size # string pool 00 02 # function count # function_pool #
00 00 # number of arguments = 0 00 03 # number of local variables = 3 00 0C # code length = 12 bytes 10 02 # bipush 2 # 2 10 03 # bipush 3 # 3 B8 00 01 # invokestatic 1 # fastpow(2, 3) 36 00 # vstore 0 # x = fastpow(2, 3); 15 00 # vload 0 # x B0 # return # # 00 02 # number of arguments = 2 00 03 # number of local variables = 3 00 39 # code length = 57 bytes 10 01 # bipush 1 # 1 36 02 # vstore 2 # r = 1; # <00:loop> 15 01 # vload 1 # y 10 00 # bipush 0 # 0 A3 00 06 # if_icmpgt +6 # if (y > 0) goto <01:body> A7 00 2B # goto +43 # goto <02:exit> # <01:body> 15 01 # vload 1 # y 10 02 # bipush 2 # 2 70 # irem # (y % 2) 10 01 # bipush 1 # 1 9F 00 06 # if_cmpeq +6 # if ((y % 2) == 1) goto <03:then> A7 00 0D # goto +13 # goto <04:else> # <03:then> 15 02 # vload 2 # r 15 00 # vload 0 # x 68 # imul # (r * x) 36 02 # vstore 2 # r = (r * x); A7 00 03 # goto +3 # goto <05:endif> # <04:else> # <05:endif> 15 00 # vload 0 # x 15 00 # vload 0 # x 68 # imul # (x * x) 36 00 # vstore 0 # x = (x * x); 15 01 # vload 1 # y 10 02 # bipush 2 # 2 6C # idiv # (y / 2) 36 01 # vstore 1 # y = (y / 2); A7 FF D1 # goto -47 # goto <00:loop> # <02:exit> 15 02 # vload 2 # r B0 # return # 00 00 # native count # native pool