[prev in list] [next in list] [prev in thread] [next in thread] 

List:       binutils-bugs
Subject:    [Bug gas/30585] New: as ignores {disp16} in 16bit mode
From:       "andi-bz at firstfloor dot org" <sourceware-bugzilla () sourceware ! org>
Date:       2023-06-26 4:15:34
Message-ID: bug-30585-70 () http ! sourceware ! org/bugzilla/
[Download RAW message or body]

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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic