bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/30585] New: as ignores {disp16} in 16bit mode


From: andi-bz at firstfloor dot org
Subject: [Bug gas/30585] New: as ignores {disp16} in 16bit mode
Date: Mon, 26 Jun 2023 04:15:34 +0000

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

            Bug ID: 30585
           Summary: as ignores {disp16} in 16bit mode
           Product: binutils
           Version: 2.38
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: andi-bz at firstfloor dot org
  Target Milestone: ---

For i386 / i8086:

For

       .code16
        {disp16} jmp 1f
        nop
1:

I would expect a 16 bit jump displacement, but I only get 8 bits:

0000000000000000 <.text>:
   0:   eb 01                   jmp    0x3
   2:   90                      nop

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