0 Replies Latest reply on May 25, 2007 12:45 PM by Ulises Juarez

    Showing correct mnemonics

    Ulises Juarez Newbie


      I'm using Javassist 3.4 for building a disassembler java bytecode like javap tool.

      When the bytecode contains instructions like "iinc_w", it is shown like "wide".

      My method for disassembling is checking the current pc with next() and looakAhead() methods from CodeIterator class and the difference between them gives me the bytes for reading with byteAt() method.

      I've also tried with s16bitAt() and s32bitAt() methods but they does not show mnemonics correctly.

      What is wrong?
      Is there any form to read correctly these instructions?

      Best regards.