fn jsr(&mut self) -> bool {
        // NOTE: we assume that sp points to the topmost empty space
        let ret_addr = self.pc - 1;

        self.push(((ret_addr >> 8) & 0xFF) as u8);
        self.push((ret_addr & 0xFF) as u8);

        self.pc = self.eff_addr;

        false
    }
// JSR: Jump to subroutine
// Affects: None
Jump to subroutine
Affects: None
Jump to subroutine Affects : None
fn jsr(&mut self) -> bool {
        // NOTE: we assume that sp points to the topmost empty space
        let ret_addr = self.pc - 1;
        self.push(((ret_addr >> 8) & 0xFF) as u8);
        self.push((ret_addr & 0xFF) as u8);
        self.pc = self.eff_addr;
        false
    }
fn jsr ( & mut self ) -> bool { // NOTE: we assume that sp points to the topmost empty space let ret_addr = self . pc - 1 ; self . push ( ( ( ret_addr >> 8 ) & 0xFF ) as u8 ) ; self . push ( ( ret_addr & 0xFF ) as u8 ) ; self . pc = self . eff_addr ; false }
JSR: Jump to subroutine
Affects: None
JSR : Jump to subroutine Affects : None
&mut self