This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM OR THUMB CODE

Note: This was originally posted on 5th November 2010 at http://forums.arm.com

We all know that there are two kinds of instruction, arm and thumb. Here is the question: how can I get the right instruction type of the functions from elf file which contains mixed thumb and arm intruction?
Parents
  • Note: This was originally posted on 5th November 2010 at http://forums.arm.com

    how can I get the right instruction type of the functions from elf file which contains mixed thumb and arm intruction?


    What do you mean by 'right' in this context? They are both perfectly right :D
    You can make an asm listing from elf and you'll easily distinguish ARM from Thumb by instructions' lengths.
    (I'm not yet closely familiar with Thumb2, so I'm not commenting on this).
Reply
  • Note: This was originally posted on 5th November 2010 at http://forums.arm.com

    how can I get the right instruction type of the functions from elf file which contains mixed thumb and arm intruction?


    What do you mean by 'right' in this context? They are both perfectly right :D
    You can make an asm listing from elf and you'll easily distinguish ARM from Thumb by instructions' lengths.
    (I'm not yet closely familiar with Thumb2, so I'm not commenting on this).
Children
No data