aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/long_mode/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/long_mode/mod.rs b/test/long_mode/mod.rs
index 5a1d02d..ab1cc23 100644
--- a/test/long_mode/mod.rs
+++ b/test/long_mode/mod.rs
@@ -1242,6 +1242,7 @@ fn test_control_flow() {
test_display(&[0x72, 0x5a], "jb $+0x5a");
test_display(&[0x72, 0xf0], "jb $-0x10");
test_display(&[0x0f, 0x86, 0x8b, 0x01, 0x00, 0x00], "jna $+0x18b");
+ test_display(&[0x0f, 0x85, 0x3b, 0x25, 0x00, 0x00], "jnz $+0x253b");
test_display(&[0x74, 0x47], "jz $+0x47");
test_display(&[0xff, 0x15, 0x7e, 0x72, 0x24, 0x00], "call qword [rip + 0x24727e]");
test_display(&[0xff, 0x24, 0xcd, 0x70, 0xa0, 0xbc, 0x01], "jmp qword [rcx * 8 + 0x1bca070]");
@@ -1411,6 +1412,7 @@ fn test_misc() {
test_display(&[0x48, 0x03, 0x0b], "add rcx, qword [rbx]");
test_display(&[0x48, 0x8d, 0x0c, 0x12], "lea rcx, qword [rdx + rdx * 1]");
test_display(&[0xf6, 0xc2, 0x18], "test dl, 0x18");
+ test_display(&[0x41, 0xf6, 0xc7, 0x03], "test r15b, 0x3");
test_display(&[0xf3, 0x48, 0xab], "rep stos qword es:[rdi], rax");
test_display(&[0xf3, 0x48, 0xa5], "rep movs qword es:[rdi], qword ds:[rsi]");
test_display(&[0xf3, 0x45, 0x0f, 0xbc, 0xd7], "tzcnt r10d, r15d");