private static int getOpcode(int sort, int opcode) {
            if (sort == TYPE.BOOLEAN.sort || sort == TYPE.CHAR.sort
                    || sort == TYPE.BYTE.sort || sort == TYPE.SHORT.sort
                    || sort == TYPE.INT.sort) {
                opcode -= 4;
            } else if (sort == TYPE.LONG.sort) {
                opcode -= 3;
            } else if (sort == TYPE.FLOAT.sort) {
                opcode -= 2;
            } else if (sort == TYPE.DOUBLE.sort) {
                opcode -= 1;
            } else if (sort == TYPE.VOID.sort) {
                opcode++;
            }
            return opcode;
        }