bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/19937] New: v850 ld.bu incorrect disassembly


From: moorel at ntlworld dot com
Subject: [Bug gas/19937] New: v850 ld.bu incorrect disassembly
Date: Mon, 11 Apr 2016 09:48:29 +0000

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

            Bug ID: 19937
           Summary: v850 ld.bu incorrect disassembly
           Product: binutils
           Version: 2.24
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: moorel at ntlworld dot com
  Target Milestone: ---

The following instruction seems to output incorrect disassembly for option
-mv850e3v5

ld.bu 0x4[r10], r20

to reproduce, run the following commands on this assempler
-- CUT HERE --
.text
.globl  _start
_start:
    # ld.bu FMT14
    ld.bu 0x0[r10], r20
    ld.bu 0x4[r10], r20
    ld.bu 0x8[r10], r20

exit:
    mov r0, r1

.data
data:
-- CUT HERE --

Commands
$ v850-elf-as -mv850e3v5 -o asmtest.o asmtest.S --fatal-warnings
$ v850-elf-objdump -D asmtest.o

00000000 <_start>:
   0:   8a a7 01 00     ld.bu   0[r10], r20
   4:   8a a7 05 00     ld.b    -2898688[r10], r0
   8:   8a a7 09 00     ld.bu   8[r10], r20

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