[Nasm-bugs] [Bug 3392782] Support for rex.w

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Sun Sep 12 07:10:32 PDT 2021


https://bugzilla.nasm.us/show_bug.cgi?id=3392782

Marcus Dubois <mackan.dubois at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mackan.dubois at gmail.com

--- Comment #2 from Marcus Dubois <mackan.dubois at gmail.com> ---
Sorry if I was unclear, that was just the statement I expected to generate 0x48
0xcb. Say for example I have the following snippet to switch to 32-bits mode
from 64-bits.

bits 64
global _start
_start:
    push 0x23
    push 0x20000 ;our return address

    rex.w retf

Assembling a similar snippet with GNU as produces the expected byte sequence.

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


More information about the Nasm-bugs mailing list