aboutsummaryrefslogtreecommitdiff
path: root/src/protected_mode
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2020-05-03 13:54:18 -0700
committeriximeow <me@iximeow.net>2020-05-03 13:54:18 -0700
commitbc7c5f7d3b8f68c59c926b46cfbd808e4d397c49 (patch)
tree3754ffcb415778fefc81710859c831fc7d028a4e /src/protected_mode
parent876fc7449cf862e7ffe788885fb7d4209ad2eb5d (diff)
"is there a rep prefix" is something people need to be able to ask
Diffstat (limited to 'src/protected_mode')
-rw-r--r--src/protected_mode/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protected_mode/mod.rs b/src/protected_mode/mod.rs
index 76af3a1..58d7a85 100644
--- a/src/protected_mode/mod.rs
+++ b/src/protected_mode/mod.rs
@@ -2726,7 +2726,7 @@ impl Prefixes {
};
}
#[inline]
- fn rep(&self) -> bool { self.bits & 0x30 == 0x10 }
+ pub fn rep(&self) -> bool { self.bits & 0x30 == 0x10 }
#[inline]
fn set_rep(&mut self) { self.bits = (self.bits & 0xcf) | 0x10 }
#[inline]