bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/10924] Bug in objdump when disassembling raw armv4t binari


From: nickc at redhat dot com
Subject: [Bug binutils/10924] Bug in objdump when disassembling raw armv4t binaries
Date: 3 Dec 2009 10:54:51 -0000

------- Additional Comments From nickc at redhat dot com  2009-12-03 10:54 
-------
Hi Chris,

> See these 3...

There were only 2 instructions in your test case...

>   0:    004f00b0       strheq  r0, [pc], #0    ; <UNPREDICTABLE>
>   4:    005f00b0       ldrheq  r0, [pc], #0    ; <UNPREDICTABLE>
>
> Why are those UNPREDICTABLE?

They are unpredictable because they use the program counter as the address
register.  See page A5-45 of your ARM ARM:

  "Specifying R15 as register Rn has UNPREDICTABLE results."

Cheers
  Nick


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10924

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]