Function eikon3ds_core::arch::instruction_specified_shift::shift_left
source · pub fn shift_left(val: u32, shift_amount: u32, carry_flag: bool) -> ShiftResults
Expand description
Shifts bits left by an instruction specified amount.
Bits are moved out of the left-hand end and zeros are filled into the right-hand end. If the shift amount is zero, the carry out is the old carry flag and val is unchanged.