[Nasm-bugs] [Bug 3392467] use short immediate opcode when available

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Fri Dec 14 01:21:09 PST 2018


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

H. Peter Anvin <hpa at zytor.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|OPEN                        |CLOSED

--- Comment #2 from H. Peter Anvin <hpa at zytor.com> ---
This is not a bug.

val1 is a segment-related variable which is now knowable until link time. The
bin format is just a linker built into NASM, which has the same limitations.

Thus, you need to make sure the segment base cancels out to do this, for
example:

fild word [si + val1 - $$]

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


More information about the Nasm-bugs mailing list