aboutsummaryrefslogtreecommitdiff
path: root/test/protected_mode/mod.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2020-08-09 18:53:56 -0700
committeriximeow <me@iximeow.net>2020-08-09 18:53:56 -0700
commitfb79b4a218a715aba8d0a4f8126a6ded532be449 (patch)
tree66c28a98d27d7566ae9668cefd1a014a35cf78f5 /test/protected_mode/mod.rs
parent80219e974d78af59afb4250498554ad8eb63274c (diff)
add 32-bit-only instructions
Diffstat (limited to 'test/protected_mode/mod.rs')
-rw-r--r--test/protected_mode/mod.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/protected_mode/mod.rs b/test/protected_mode/mod.rs
index 243b283..30f88ed 100644
--- a/test/protected_mode/mod.rs
+++ b/test/protected_mode/mod.rs
@@ -1457,6 +1457,21 @@ fn only_32bit() {
test_display(&[0x60], "pusha");
test_display(&[0x61], "popa");
test_display(&[0xce], "into");
+ test_display(&[0x06], "push es");
+ test_display(&[0x07], "pop es");
+ test_display(&[0x0e], "push cs");
+ test_display(&[0x16], "push ss");
+ test_display(&[0x17], "pop ss");
+ test_display(&[0x1e], "push ds");
+ test_display(&[0x1f], "pop ds");
+ test_display(&[0x27], "daa");
+ test_display(&[0x2f], "das");
+ test_display(&[0x37], "aaa");
+ test_display(&[0x3f], "aas");
+ test_display(&[0xd4, 0x01], "amx 0x1");
+ test_display(&[0xd4, 0x0a], "amx 0xa"); // aka "aam"
+ test_display(&[0xd5, 0x01], "adx 0x1");
+ test_display(&[0xd5, 0x0a], "adx 0xa"); // aka "aad"
}
#[test]