[Nasm-bugs] [Bug 3392656] "mov fs, ax" does not cause error when "cpu 8086" is in effect

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Tue Oct 13 01:47:46 PDT 2020


felix.von.s at posteo.de changed:

           What    |Removed                     |Added
                 CC|                            |felix.von.s at posteo.de

--- Comment #1 from felix.von.s at posteo.de ---
Created attachment 411803
  --> https://bugzilla.nasm.us/attachment.cgi?id=411803&action=edit
Reject fs/gs/a32/o32 as opcode prefixes on CPUs older than the 386

I can confirm. Also neither do fs/gs as standalone opcode prefixes, fs/gs in
memory references nor a32/o32 prefixes (I suppose a16/o16 are fine, since they
are empty anyway).

Attached is a small patch for the latter problem; it doesn’t solve the original
bug. Also, it gets the job done, but doesn’t result in very good error

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