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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to