aboutsummaryrefslogtreecommitdiff
path: root/test/protected_mode
diff options
context:
space:
mode:
Diffstat (limited to 'test/protected_mode')
-rw-r--r--test/protected_mode/mod.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/protected_mode/mod.rs b/test/protected_mode/mod.rs
index 78a061a..d5533cc 100644
--- a/test/protected_mode/mod.rs
+++ b/test/protected_mode/mod.rs
@@ -811,11 +811,11 @@ fn test_0f01() {
// Number"
test_display(&[0x0f, 0x01, 0x38], "invlpg byte [eax]");
test_display(&[0x0f, 0x01, 0x3f], "invlpg byte [edi]");
- test_display(&[0x0f, 0x01, 0x40, 0xff], "sgdt ptr [eax - 0x1]");
- test_display(&[0x0f, 0x01, 0x41, 0xff], "sgdt ptr [ecx - 0x1]");
- test_display(&[0x0f, 0x01, 0x49, 0xff], "sidt ptr [ecx - 0x1]");
- test_display(&[0x0f, 0x01, 0x51, 0xff], "lgdt ptr [ecx - 0x1]");
- test_display(&[0x0f, 0x01, 0x59, 0xff], "lidt ptr [ecx - 0x1]");
+ test_display(&[0x0f, 0x01, 0x40, 0xff], "sgdt far [eax - 0x1]");
+ test_display(&[0x0f, 0x01, 0x41, 0xff], "sgdt far [ecx - 0x1]");
+ test_display(&[0x0f, 0x01, 0x49, 0xff], "sidt far [ecx - 0x1]");
+ test_display(&[0x0f, 0x01, 0x51, 0xff], "lgdt far [ecx - 0x1]");
+ test_display(&[0x0f, 0x01, 0x59, 0xff], "lidt far [ecx - 0x1]");
test_display(&[0x0f, 0x01, 0x61, 0xff], "smsw word [ecx - 0x1]");
test_invalid(&[0x0f, 0x01, 0x69, 0xff]);
test_display(&[0x0f, 0x01, 0x71, 0xff], "lmsw word [ecx - 0x1]");