From f2de087952ce4bc10ba18ad6bbb5d34ff01d2921 Mon Sep 17 00:00:00 2001 From: iximeow Date: Wed, 15 Jan 2020 23:51:17 -0800 Subject: support "int imm8" instructions --- test/test.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') diff --git a/test/test.rs b/test/test.rs index fc4f1b1..5ba8bd9 100644 --- a/test/test.rs +++ b/test/test.rs @@ -510,6 +510,9 @@ fn test_bitwise() { #[test] fn test_misc() { + test_display(&[0xcc], "int 0x3"); + test_display(&[0xcd, 0x00], "int 0x0"); + test_display(&[0xcd, 0xff], "int 0xff"); test_display(&[0x9c], "pushf"); test_display(&[0x48, 0x98], "cdqe"); test_display(&[0x66, 0x2e, 0x0f, 0x1f, 0x84, 0x00, 0x00, 0x00, 0x00, 0x00], "nop cs:[rax + rax * 1]"); -- cgit v1.1