aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2019-10-19 22:59:58 -0700
committeriximeow <me@iximeow.net>2020-01-12 16:10:13 -0800
commit98fcbbcb92554090651a15460319ce7ae4038c6a (patch)
tree402e1ac3bbf9eedce53adfcde1ca61ea21441651 /test
parent3c9597a105670c91a6c11493204a4828ed54d235 (diff)
decode shift-by-cl and fix error decoding sign-extending operands
Diffstat (limited to 'test')
-rw-r--r--test/test.rs1
1 files changed, 1 insertions, 0 deletions
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");