code: public void loadFromArray(TypeDesc type) {
          byte op;
          int stackAdjust = -1;
  
          switch (type.getTypeCode()) {
          case TypeDesc.INT_CODE:
              op = Opcode.IALOAD;
              break;
          case TypeDesc.BOOLEAN_CODE:
          case TypeDesc.BYTE_CODE:
              op = Opcode.BALOAD;
              break;
          case TypeDesc.SHORT_CODE:
              op = Opcode.SALOAD;
              break;
          case TypeDesc.CHAR_CODE:
              op = Opcode.CALOAD;
              break;
          case TypeDesc.FLOAT_CODE:
              op = Opcode.FALOAD;
              break;
          case TypeDesc.LONG_CODE:
              stackAdjust = 0;
              op = Opcode.LALOAD;
              break;
          case TypeDesc.DOUBLE_CODE:
              stackAdjust = 0;
              op = Opcode.DALOAD;
              break;
          default:
              op = Opcode.AALOAD;
              break;
          }
  
          addCode(stackAdjust, op);
      }
docs: load-to-stack-from-array style instructions