diff options
author | iximeow <me@iximeow.net> | 2020-08-09 18:59:20 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2020-08-09 18:59:20 -0700 |
commit | c06dd09585d192199f8f3068c69aecfae5d407f6 (patch) | |
tree | 233070bce29e2b731134750c05b71a9515e8f4fd | |
parent | fb79b4a218a715aba8d0a4f8126a6ded532be449 (diff) |
tests for clts
-rw-r--r-- | test/long_mode/mod.rs | 1 | ||||
-rw-r--r-- | test/protected_mode/mod.rs | 1 |
2 files changed, 2 insertions, 0 deletions
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] |