cycle_and_splay

Function cycle_and_splay 

Source
pub fn cycle_and_splay(
    target: Unsigned36Bit,
    bits: Unsigned6Bit,
) -> Unsigned36Bit
Expand description

Loading a line of data from PETR in assembly mode has the effect of first cycling the target word left by one bit position, and then loading the incmoing bits into bit positions 0, 6, 12, 18, 24, 30 (couting from the least significant bit). If you repeat that operation 6 times, you will load bits into all the positions in a word. This funciton performs this operation once (i.e. loads 6 bits).