aboutsummaryrefslogtreecommitdiff
path: root/test/protected_mode/mod.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2021-07-04 13:21:09 -0700
committeriximeow <me@iximeow.net>2021-07-04 13:21:09 -0700
commite15ef43a243ae0e0db369cead1786f4f2c4e690e (patch)
treee6ee5bebf5c1681cc67712b01d3b89c04b824af9 /test/protected_mode/mod.rs
parent2c84821ee0d9807d20ea82b8550edde09426a867 (diff)
support xacquire/xrelease prefixing
Diffstat (limited to 'test/protected_mode/mod.rs')
-rw-r--r--test/protected_mode/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/protected_mode/mod.rs b/test/protected_mode/mod.rs
index dd52cfe..65e112f 100644
--- a/test/protected_mode/mod.rs
+++ b/test/protected_mode/mod.rs
@@ -1080,7 +1080,7 @@ fn test_prefixes() {
test_display(&[0xf0, 0x31, 0x00], "lock xor dword [eax], eax");
test_display(&[0xf0, 0x80, 0x30, 0x00], "lock xor byte [eax], 0x0");
test_display(&[0xf0, 0x0f, 0xbb, 0x17], "lock btc dword [edi], edx");
- test_display(&[0x66, 0x2e, 0xf2, 0xf0, 0x0f, 0xbb, 0x13], "lock btc word cs:[ebx], dx");
+ test_display(&[0x66, 0x2e, 0xf2, 0xf0, 0x0f, 0xbb, 0x13], "xacquire lock btc word cs:[ebx], dx");
test_invalid(&[0xf0, 0xc7, 0x00, 0x00, 0x00, 0x00]);
test_display(&[0x0f, 0xc1, 0xcc], "xadd esp, ecx");
test_display(&[0x66, 0x0f, 0xc1, 0xcc], "xadd sp, cx");