From 98fcbbcb92554090651a15460319ce7ae4038c6a Mon Sep 17 00:00:00 2001 From: iximeow Date: Sat, 19 Oct 2019 22:59:58 -0700 Subject: decode shift-by-cl and fix error decoding sign-extending operands --- test/test.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/test.rs b/test/test.rs index df0e1343..cd28685 100644 --- a/test/test.rs +++ b/test/test.rs @@ -107,6 +107,7 @@ fn test_mov() { test_display(&[0x89, 0x55, 0x94], "mov [rbp - 0x6c], edx"); test_display(&[0x65, 0x4c, 0x89, 0x04, 0x25, 0xa8, 0x01, 0x00, 0x00], "mov gs:[0x1a8], r8"); test_display(&[0x0f, 0xbe, 0x83, 0xb4, 0x00, 0x00, 0x00], "movsx eax, byte [rbx + 0xb4]"); + test_display(&[0x46, 0x63, 0xc1], "movsxd r8, ecx"); test_display(&[0x48, 0x63, 0x04, 0xba], "movsxd rax, [rdx + rdi * 4]"); test_display(&[0xf3, 0x0f, 0x6f, 0x07], "movdqu xmm0, xmmword [rdi]"); test_display(&[0xf3, 0x0f, 0x7f, 0x45, 0x00], "movdqu xmmword [rbp], xmm0"); -- cgit v1.1