aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2020-01-15 23:51:17 -0800
committeriximeow <me@iximeow.net>2020-01-15 23:51:17 -0800
commitf2de087952ce4bc10ba18ad6bbb5d34ff01d2921 (patch)
treedbb518d39b803d5d327ee5d969f1e403388f6080 /test
parent36c018bb23063f0449549dc261830ccaa567e4fd (diff)
support "int imm8" instructions
Diffstat (limited to 'test')
-rw-r--r--test/test.rs3
1 files changed, 3 insertions, 0 deletions
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]");