Skip to main content

shift_lsr

Function shift_lsr 

Source
pub const fn shift_lsr(value: u32, shift: u8, carry: bool) -> (u32, bool)
Expand description

LSR (logical shift right) by a register-derived amount 0..=255 (Mesen2 ShiftLsr). See shift_lsl for the shared shift == 0 no-op contract.