This is the mail archive of the
mailing list for the binutils project.
Re: ARM instruction decoder
- From: Леша К. <carhun at ya dot ru>
- To: Nicholas Clifton <nickc at redhat dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Wed, 30 Jul 2014 17:44:36 +0400
- Subject: Re: ARM instruction decoder
- Authentication-results: sourceware.org; auth=none
- Envelope-from: carhun at yandex dot ua
- References: <8537051404215110 at web20m dot yandex dot ru> <53B3FEA4 dot 2050508 at redhat dot com>
But if we have stripped file than it parse some instruction incorrect because there is no symbol table where to parse $a, $t etc...
So then the most general way to identify type of instruction is to emulate code and parse bx instructions?
Or I am wrong?
Thank U for help!
02.07.2014, 16:44, "Nicholas Clifton" <email@example.com>:
> Hi Aleskei,
>> Can U show me doc where I can read about how to detect is current instruction ARM or THUMB?
>> I tried to get this information from objdump source and this is so intricately.
> You need the "ELF for the ARM Architecture" document from ARM (document
> number IHI0044E):
> See section 4.5.5, entitled "Mapping Symbols" for the information you need,