Index: src/trusted/validator_x86/testdata/64/bad66.tf |
diff --git a/src/trusted/validator_x86/testdata/64/bad66.tf b/src/trusted/validator_x86/testdata/64/bad66.tf |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3e24d57aefb9c48a0435c64b7309e6be36b4592a |
--- /dev/null |
+++ b/src/trusted/validator_x86/testdata/64/bad66.tf |
@@ -0,0 +1,9 @@ |
+BITS: 64 |
+OUTCOME: invalid |
+ |
+# An example of a valid add instruction for which NACL doesn't allow a 66 prefix. |
+# add %al, %al |
+asm: data16; add %al,%al |
+hex: 66 00 c0 |
+nc_out: ERROR: Use of DATA16 (66) prefix for instruction not allowed by Native Client |
+ |