[Nasm-bugs] [Bug 3392665] "mov ds, dword [0]" is not accepted and "mov ds, word [0]" in 32-bit segment does not put o16

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Sun May 24 12:52:33 PDT 2020


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

           What    |Removed                     |Added
           Severity|minor                       |critical

--- Comment #1 from H. Peter Anvin <hpa at zytor.com> ---
No, it should not add an o16 prefix, because this operation is defined as
always being 16 bits, no prefix needed. Declaring it dword is invalid, and
should error.

(strict word *should*, but I don't think it works right now.)

However, "mov ds,[0]" without a size qualifier *must* work; this is a
blocker-class regression.

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