top1.bc

来自「PracticalJAVACode 的源码」· BC 代码 · 共 13 行

BC
13
字号
Method int top1()
   0 aload_0          //Push the object reference(this) at index
                      //0 of the local variable table.
   1 getfield #6 <Field int intArr[]>
                      //Pop the object reference(this) and push
                      //the object reference for intArr accessed
                      //from the constant pool.
   4 iconst_0         //Push 0.
   5 iaload           //Pop the top two values and push the value
                      //at index 0 of intArr.
   6 ireturn          //Pop top value and push it on the operand
                      //stack of the invoking method. Exit method.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?