From c06dd09585d192199f8f3068c69aecfae5d407f6 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 9 Aug 2020 18:59:20 -0700 Subject: tests for clts --- test/long_mode/mod.rs | 1 + test/protected_mode/mod.rs | 1 + 2 files changed, 2 insertions(+) (limited to 'test') diff --git a/test/long_mode/mod.rs b/test/long_mode/mod.rs index 3a912b6..ee20c47 100644 --- a/test/long_mode/mod.rs +++ b/test/long_mode/mod.rs @@ -929,6 +929,7 @@ fn test_system() { test_display(&[0x40, 0x0f, 0x23, 0xc8], "mov dr1, rax"); test_display(&[0x0f, 0x23, 0xc8], "mov dr1, rax"); test_display(&[0x0f, 0x21, 0xc8], "mov rax, dr1"); + test_display(&[0x0f, 0x06], "clts"); } #[test] diff --git a/test/protected_mode/mod.rs b/test/protected_mode/mod.rs index 30f88ed..8749935 100644 --- a/test/protected_mode/mod.rs +++ b/test/protected_mode/mod.rs @@ -816,6 +816,7 @@ fn test_0fae() { fn test_system() { test_display(&[0x63, 0xc1], "arpl cx, ax"); test_display(&[0x63, 0x04, 0xba], "arpl [edx + edi * 4], ax"); + test_display(&[0x0f, 0x06], "clts"); } #[test] -- cgit v1.1