[Top][All Lists]

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

[Bug binutils/10288] "objdump -D --target=binary -m arm7tdmi" shows non-

From: nickc at redhat dot com
Subject: [Bug binutils/10288] "objdump -D --target=binary -m arm7tdmi" shows non-ARM7TDMI instructions
Date: 24 Jun 2009 16:45:30 -0000

------- Additional Comments From nickc at redhat dot com  2009-06-24 16:45 
Hi Chris,

> 1. mrrcmi is an extended DSP instruction that doesn't belong on ARM7TDMI 
> right?

Right.  This was a typo in the arm-dis.c file.

> 2. According to my ARM ref manual, strb needs to have bits 4-11 zeroed out
which 01a23597 doesn't.  Should this be undefined instead?

Yes it should.  The disassembly patterns were being a bit too generous.

> 3. I can't find lfm in my ARM ref manual.

Neither can I.  As found out it appears to be a variant of the LDC instruction,
but it is not a true alias for it - there is actually a difference syntax to the
instruction and a different bit encoding.  (It uses bits 11 and 22 to encode a
'count' value).

The uploaded patch fixes 1 and 2.  I have to assume that the encoding and
decoding for LFM, and presumably SFM, are correct.  I also assume that they are
defined in one of the proprietary versions of the ARM Architecture Reference
Manual that ARM only gives out to its approved, registered customers.


PS.  The uploaded patch includes the previous patches for this issue and the
patches for issue 10297.



------- 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]