[Nasm-bugs] [Bug 3392590] [Feature request] Warn for obsolete instructions MOV to CS, POP to CS
noreply-nasm at gorcunov.org
noreply-nasm at gorcunov.org
Sat Aug 17 05:44:53 PDT 2019
https://bugzilla.nasm.us/show_bug.cgi?id=3392590
C. Masloch <pushbx at 38.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pushbx at 38.de
--- Comment #2 from C. Masloch <pushbx at 38.de> ---
Currently pop cs does warn, but mov to cs doesn't:
test$ cat obsolete.asm
bits 16
cpu 8086
pop cs
mov cs,ax
cpu 386
pop cs
mov cs,ax
cpu any
pcommit
test$ ../nasm obsolete.asm
obsolete.asm:4: warning: instruction obsolete but valid on the target CPU
[-w+obsol
ete-valid]
obsolete.asm:8: warning: instruction obsolete and removed from the target CPU
[-w+o
bsolete-removed]
obsolete.asm:12: warning: instruction never implemented and is a noop on the
target
CPU [-w+obsolete-nop]
test$
--
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