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

            Bug ID: 18358
           Summary: Mnemonic to get a jump with 16 bit displacement for
                    i8086 is jmp.d32, should be jmp.d16
           Product: binutils
           Version: 2.24
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: fuzxxl at gmail dot com
  Target Milestone: ---

I'm trying to generate i8086 machine code using as. For one application I need
to make sure that gas generates a jump instruction with a 16 bit displacement.
Counter-intuitively, the corresponding mnemonic seems to be

    jmp.d32 target

in 16 bit mode. I expected this mnemonic to generate a jump with a 32 bit
displacement, but it generates a jump with a 16 bit displacement. It would be
great if gas could support the correct

    jmp.d16 target

for a 16 bit displacement.

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

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to