From bc7c5f7d3b8f68c59c926b46cfbd808e4d397c49 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 3 May 2020 13:54:18 -0700 Subject: "is there a rep prefix" is something people need to be able to ask --- src/long_mode/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/long_mode') diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs index 05eee0a..e0a1fdf 100644 --- a/src/long_mode/mod.rs +++ b/src/long_mode/mod.rs @@ -2765,7 +2765,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] -- cgit v1.1