diff options
Diffstat (limited to 'src/armv7.rs')
-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 }) |