[Nasm-bugs] [Bug 3392730] New: Not always flagging invalid 286 instructions

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Tue Dec 22 09:01:14 PST 2020


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

            Bug ID: 3392730
           Summary: Not always flagging invalid 286 instructions
           Product: NASM
           Version: unspecified
          Hardware: All
                OS: All
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: bretjohn at juno.com
                CC: chang.seok.bae at intel.com, gorcunov at gmail.com,
                    hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Binary from nasm.us

I'm currently using NASM v2.10 for DOS.  I have not updated and tested yet with
the latest version (2.15), but suspect the problem still exists.  I have the
following instructions in one of my source code files:

CPU 286
...
MOV  FS,[CS:FSValue]

which should have been flagged as an error when compiling, but it wasn't (any
instruction which references FS or GS on a 286 CPU is invalid).  I suspect this
probably occurs with the CPU 186 and CPU 8086 directive also, but don't know
for sure.

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