aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/long_mode/mod.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs
index 72ec802..bd70a92 100644
--- a/src/long_mode/mod.rs
+++ b/src/long_mode/mod.rs
@@ -343,6 +343,11 @@ impl RegSpec {
}
#[inline]
+ pub const fn rbx() -> RegSpec {
+ RegSpec { bank: RegisterBank::Q, num: 3 }
+ }
+
+ #[inline]
pub const fn rsi() -> RegSpec {
RegSpec { bank: RegisterBank::Q, num: 6 }
}