[Nasm-bugs] [Bug 3392439] Missing operand size override prefix

no-reply at bugzilla-nasm.gorcunov.org no-reply at bugzilla-nasm.gorcunov.org
Wed Sep 27 13:59:35 PDT 2017


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

--- Comment #1 from H. Peter Anvin <hpa at zytor.com> ---
The segment declaration almost certainly doesn't do what you want in NASM:

segment _TEXT class=CODE USE32 align=1 CPU=686

The NASM equivalent is:

        cpu 686
        use32
section _TEXT align=1

Note that the "cpu 686" probably doesn't actually do what you want.

If you do want to output OMF format, then you can still specify the OMF class
name with "class=CODE" if you want.

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