diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/long_mode/mod.rs | 1 | ||||
-rw-r--r-- | test/protected_mode/mod.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/test/long_mode/mod.rs b/test/long_mode/mod.rs index 33fc8c7..3b31dbb 100644 --- a/test/long_mode/mod.rs +++ b/test/long_mode/mod.rs @@ -1097,6 +1097,7 @@ fn test_prefixes() { test_display(&[0x40, 0x32, 0xc5], "xor al, bpl"); test_invalid(&[0xf0, 0x33, 0xc0]); test_display(&[0xf0, 0x31, 0x00], "lock xor [rax], eax"); + test_display(&[0xf0, 0x80, 0x30, 0x00], "lock xor [rax], 0x0"); test_invalid(&[0xf0, 0xc7, 0x00, 0x00, 0x00, 0x00]); } diff --git a/test/protected_mode/mod.rs b/test/protected_mode/mod.rs index c5c3c7b..84448ef 100644 --- a/test/protected_mode/mod.rs +++ b/test/protected_mode/mod.rs @@ -972,6 +972,7 @@ fn test_prefixes() { test_display(&[0x66, 0x32, 0xc5], "xor al, ch"); test_invalid(&[0xf0, 0x33, 0xc0]); test_display(&[0xf0, 0x31, 0x00], "lock xor [eax], eax"); + test_display(&[0xf0, 0x80, 0x30, 0x00], "lock xor [eax], 0x0"); test_invalid(&[0xf0, 0xc7, 0x00, 0x00, 0x00, 0x00]); } |