bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/16995] New: m68k coldfire emac immediate to macsr incorrec


From: anders at 60deg dot net
Subject: [Bug binutils/16995] New: m68k coldfire emac immediate to macsr incorrect disassembly
Date: Wed, 28 May 2014 20:42:45 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=16995

            Bug ID: 16995
           Summary: m68k coldfire emac immediate to macsr incorrect
                    disassembly
           Product: binutils
           Version: 2.24
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: anders at 60deg dot net

The instruction move.l #,macsr is incorrectly disassembled as move.l Rx,macsr +
4 bytes of wrongly interpreted code.

I swapped the two lines

{"movel", 2,    one(0xa900),    one(0xffc0), "RsG-", mcfemac }, /* Rx,macsr. 
*/
{"movel", 6,    one(0xa93c),    one(0xffff), "#lG-", mcfemac }, /* #,macsr.  */

so #,macsr is tested first, I do not know if that it the best way to fix it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

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