[LLVMbugs] [Bug 10571] New: [ARM disasm] some moves to/from PC are disassembled as invalid

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Aug 2 14:05:39 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=10571

           Summary: [ARM disasm] some moves to/from PC are disassembled as
                    invalid
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sliedes at cc.hut.fi
                CC: llvmbugs at cs.uiuc.edu


The following opcodes are valid ARM instructions but are not recognized by the
disassembler (they are all disassembled as invalid):

e59ff018    ldr     pc, [pc, #24]
01a0e00f    moveq   lr, pc
e1a0f001    mov     pc, r1


So these commands output an error message:

$ echo '0x18 0xf0 0x9f 0xe5' |llvm-mc -disassemble -arch=arm
$ echo '0x0f 0xe0 0xa0 0x01' |llvm-mc -disassemble -arch=arm
$ echo '0x01 0xf0 0xa0 0xe1' |llvm-mc -disassemble -arch=arm

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list