bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/18358] New: Mnemonic to get a jump with 16 bit displacement for


From: fuzxxl at gmail dot com
Subject: [Bug gas/18358] New: Mnemonic to get a jump with 16 bit displacement for i8086 is jmp.d32, should be jmp.d16
Date: Wed, 29 Apr 2015 15:42:08 +0000

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]