fn step_reader(&mut self, read: u8) -> bool {
        if self.current_length > 0 && self.bit_count == 0 {
            self.shift_register = read;
            self.bit_count = 8;
            self.current_address = self.current_address.wrapping_add(1);
            if self.current_address == 0 {
                self.current_address = 0x8000;
            }
            self.current_length -= 1;
            if self.current_length == 0 && self.do_loop {
                self.restart();
            }
            true
        } else {
            false
        }
    }
// returns whether or not to stall
returns whether or not to stall
returns whether or not to stall
fn step_reader(&mut self, read: u8) -> bool {
        if self.current_length > 0 && self.bit_count == 0 {
            self.shift_register = read;
            self.bit_count = 8;
            self.current_address = self.current_address.wrapping_add(1);
            if self.current_address == 0 {
                self.current_address = 0x8000;
            }
            self.current_length -= 1;
            if self.current_length == 0 && self.do_loop {
                self.restart();
            }
            true
        } else {
            false
        }
    }
fn step_reader ( & mut self , read : u8 ) -> bool { if self . current_length > 0 && self . bit_count == 0 { self . shift_register = read ; self . bit_count = 8 ; self . current_address = self . current_address . wrapping_add ( 1 ) ; if self . current_address == 0 { self . current_address = 0x8000 ; } self . current_length -= 1 ; if self . current_length == 0 && self . do_loop { self . restart ( ) ; } true } else { false } }
returns whether or not to stall
returns whether or not to stall
&mut self
read
u8
&mut self
read
u8