diff options
author | iximeow <me@iximeow.net> | 2023-11-02 08:01:17 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2023-11-02 08:01:17 -0700 |
commit | 8b995b2763d4cb5c8c73913d795318c9ce7178f0 (patch) | |
tree | 12fafb48a8e57609a9e870c5fe350aa3b854ed4a /src | |
parent | 237a7de7d4a91e47f2b970ae3f355d96c2840a4c (diff) |
ah and a doc comment for the public method0.2.4
Diffstat (limited to 'src')
-rw-r--r-- | src/armv7.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/armv7.rs b/src/armv7.rs index 2452f09..99df077 100644 --- a/src/armv7.rs +++ b/src/armv7.rs @@ -1105,6 +1105,8 @@ pub struct RegShift { } impl RegShift { + /// convert an instruction's `RegShift` operand into something more appropriate for + /// programmatic use. pub fn into_shift(&self) -> RegShiftStyle { if self.data & 0b10000 == 0 { RegShiftStyle::RegImm(RegImmShift { data: self.data }) |