aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2019-08-09 14:52:16 -0700
committerH. Peter Anvin (Intel) <hpa@zytor.com>2019-08-09 14:52:16 -0700
commit5b394611781dfa20b87253dcd81b7e398f6478bb (patch)
treefdb18329b9c3cdef3c578514c012e2a0edba2a1c /test
parentfb118890402f44a816c7e345b80e2b2dd54c73b7 (diff)
downloadnasm-5b394611781dfa20b87253dcd81b7e398f6478bb.tar.gz
nasm-5b394611781dfa20b87253dcd81b7e398f6478bb.tar.xz
nasm-5b394611781dfa20b87253dcd81b7e398f6478bb.zip
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>
Diffstat (limited to 'test')
-rw-r--r--test/obsolete.asm3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/obsolete.asm b/test/obsolete.asm
index 49dd772f..6174fc4c 100644
--- a/test/obsolete.asm
+++ b/test/obsolete.asm
@@ -7,3 +7,6 @@
cpu 386
pop cs
mov cs,ax
+
+ cpu any
+ pcommit