This website requires JavaScript.
Explore
Help
Sign In
mirror
/
nasm
Watch
2
Star
0
Fork
0
You've already forked nasm
mirror of
https://github.com/netwide-assembler/nasm.git
synced
2024-11-21 03:14:19 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
master
nasm
/
test
/
obsolete.asm
13 lines
87 B
NASM
Raw
Permalink
Normal View
History
Unescape
Escape
BR 3392590: add warning for valid but obsolete instructions Just becase one is compiling for an old CPU doesn't mean one wants to use obsolete instructions that would not be forward compatible. Rename the "obsolete" warning to "obsolete-removed" and create a new "obsolete-valid" warning to go with it (-w[+-]obsolete controls both options, as usual.) Suggested-by: C. Masloch <pushbx@38.de> Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
2019-08-10 05:21:42 +08:00
bits
16
cpu
8086
pop
cs
mov
cs
,
ax
cpu
386
pop
cs
mov
cs
,
ax
obsolete handing: handle a few more subcases in a useful way Distinguish instructions which have once been valid (OBSOLETE) from those that never saw the light of day (NEVER). Futhermore, flag instructions which devolve to an architectural noop from those with undefined behavior and possibly recycled opcodes. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
2019-08-10 05:52:16 +08:00
cpu
any
pcommit
Reference in New Issue
Copy Permalink