From 4112c2282a207ab0738db44dfc69caf68fe50de9 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 2 Aug 2020 20:57:17 -0700 Subject: fix setcc decoding --- test/long_mode/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test') diff --git a/test/long_mode/mod.rs b/test/long_mode/mod.rs index ca4670c..7472c06 100644 --- a/test/long_mode/mod.rs +++ b/test/long_mode/mod.rs @@ -1062,6 +1062,11 @@ fn test_mov() { test_display(&[0x48, 0x63, 0x04, 0xba], "movsxd rax, [rdx + rdi * 4]"); test_display(&[0xf3, 0x0f, 0x6f, 0x07], "movdqu xmm0, [rdi]"); test_display(&[0xf3, 0x0f, 0x7f, 0x45, 0x00], "movdqu [rbp], xmm0"); + + test_display(&[0x0f, 0x97, 0xc0], "seta al"); + test_display(&[0x0f, 0x97, 0xc8], "seta al"); + test_display(&[0x0f, 0x97, 0x00], "seta [rax]"); + test_display(&[0x0f, 0x97, 0x08], "seta [rax]"); } #[test] -- cgit v1.1