From e15ef43a243ae0e0db369cead1786f4f2c4e690e Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 4 Jul 2021 13:21:09 -0700 Subject: support xacquire/xrelease prefixing --- test/protected_mode/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/protected_mode/mod.rs') 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"); -- cgit v1.1