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.