* ARM instruction decoder
@ 2014-07-01 11:45 Леша К.
2014-07-02 12:44 ` Nicholas Clifton
0 siblings, 1 reply; 3+ messages in thread
From: Леша К. @ 2014-07-01 11:45 UTC (permalink / raw)
To: binutils
Hello all.
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.
So i decide to ask.
With best regards,
Aleskei
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ARM instruction decoder
2014-07-01 11:45 ARM instruction decoder Леша К.
@ 2014-07-02 12:44 ` Nicholas Clifton
2014-07-30 13:44 ` Леша К.
0 siblings, 1 reply; 3+ messages in thread
From: Nicholas Clifton @ 2014-07-02 12:44 UTC (permalink / raw)
To: "Леша К.", binutils
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):
http://infocenter.arm.com/help/topic/com.arm.doc.ihi0044e/IHI0044E_aaelf.pdf
See section 4.5.5, entitled "Mapping Symbols" for the information you need,
Cheers
Nick
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ARM instruction decoder
2014-07-02 12:44 ` Nicholas Clifton
@ 2014-07-30 13:44 ` Леша К.
0 siblings, 0 replies; 3+ messages in thread
From: Леша К. @ 2014-07-30 13:44 UTC (permalink / raw)
To: Nicholas Clifton, binutils
Hello Nick,
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" <nickc@redhat.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):
>
> http://infocenter.arm.com/help/topic/com.arm.doc.ihi0044e/IHI0044E_aaelf.pdf
>
> See section 4.5.5, entitled "Mapping Symbols" for the information you need,
>
> Cheers
> б б б Nick
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-07-30 13:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-01 11:45 ARM instruction decoder Леша К.
2014-07-02 12:44 ` Nicholas Clifton
2014-07-30 13:44 ` Леша К.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).