summaryrefslogtreecommitdiff
path: root/disasm.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-08-28 17:47:16 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-08-28 17:47:16 -0700
commit962e30519cf128a7e2b78068ca8e697c6737b7a1 (patch)
tree61dcac8e2f6b4e1cc01fef2ef56a5889e0dba095 /disasm.c
parent7b4dc622c695213fa0ee5f8d0b74502412478375 (diff)
downloadnasm-962e30519cf128a7e2b78068ca8e697c6737b7a1.tar.gz
nasm-962e30519cf128a7e2b78068ca8e697c6737b7a1.tar.bz2
nasm-962e30519cf128a7e2b78068ca8e697c6737b7a1.zip
BR 2029829: Accept VIA XCRYPT instructions with or without REP
Accept the VIA XCRYPT instructions either with or without a REP prefix, as documented. Add the missing XCRYPTCTR instruction.
Diffstat (limited to 'disasm.c')
-rw-r--r--disasm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/disasm.c b/disasm.c
index b867493..f3d4d2a 100644
--- a/disasm.c
+++ b/disasm.c
@@ -882,6 +882,10 @@ static int matches(const struct itemplate *t, uint8_t *data,
drep = P_REPE;
break;
+ case 0336:
+ case 0337:
+ break;
+
case 0340:
return false;