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

            Bug ID: 33144
           Summary: CR16 loadx/storx abs20 disassembly wrong address if >=
                    0xFF0000
           Product: binutils
           Version: 2.46 (HEAD)
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: Jomosoto at proton dot me
  Target Milestone: ---

Disassembly of CR16 loadx and storx instructions displays a wrong address when
it is >= 0xFF0000. Addresses are always missing one leading F.

Test case "test.S":

loadb 0xFF0000, r0


Command: "as test.S"


objdump -D output:

----
Disassembly of section .text:

00000000 <.text>:
   0:   0f 88 00 00     loadb   0xf0000:m,r0
----


Expected objdump -D output:

----
Disassembly of section .text:

00000000 <.text>:
   0:   0f 88 00 00     loadb   0xff0000:m,r0
----

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

Reply via email to