Function eikon3ds_core::arch::instruction_specified_shift::shift_right
source · pub fn shift_right(val: u32, shift_amount: u32) -> ShiftResults
Expand description
Shifts bits right by an instruction specified amount.
Bits are moved out of the right-hand end and zeros are filled in the left hand end. If the shift amount is zero, the shift is interpreted as LSR#32 or shift right by 32 which produces a result val of zero, and the carry out being bit 31 of val of the original val.