From c9df7910c914d04644aee660d48de1245467f384 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 3 May 2020 13:52:39 -0700 Subject: that instruction is cwd, not cbd --- test/long_mode/mod.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/long_mode/mod.rs') diff --git a/test/long_mode/mod.rs b/test/long_mode/mod.rs index ca8a557..addaae4 100644 --- a/test/long_mode/mod.rs +++ b/test/long_mode/mod.rs @@ -804,6 +804,8 @@ fn test_misc() { test_display(&[0xcd, 0xff], "int 0xff"); test_display(&[0x9c], "pushf"); test_display(&[0x48, 0x98], "cdqe"); + test_display(&[0x98], "cwde"); + test_display(&[0x66, 0x99], "cwd"); test_display(&[0x66, 0x2e, 0x0f, 0x1f, 0x84, 0x00, 0x00, 0x00, 0x00, 0x00], "nop cs:[rax + rax * 1]"); test_display(&[0x66, 0x0f, 0x1f, 0x44, 0x00, 0x00], "nop [rax + rax * 1]"); test_display(&[0x48, 0x8d, 0xa4, 0xc7, 0x20, 0x00, 0x00, 0x12], "lea rsp, [rdi + rax * 8 + 0x12000020]"); -- cgit v1.1