aboutsummaryrefslogtreecommitdiff
path: root/test/protected_mode/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'test/protected_mode/mod.rs')
-rw-r--r--test/protected_mode/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/protected_mode/mod.rs b/test/protected_mode/mod.rs
index 185e98d..bf9315c 100644
--- a/test/protected_mode/mod.rs
+++ b/test/protected_mode/mod.rs
@@ -970,6 +970,9 @@ fn test_prefixes() {
test_display(&[0x66, 0x31, 0xc0], "xor ax, ax");
test_display(&[0x66, 0x32, 0xc0], "xor al, al");
test_display(&[0x66, 0x32, 0xc5], "xor al, ch");
+ test_invalid(&[0xf0, 0x33, 0xc0]);
+ test_display(&[0xf0, 0x31, 0x00], "lock xor [eax], eax");
+ test_invalid(&[0xf0, 0xc7, 0x00, 0x00, 0x00, 0x00]);
}
#[test]