fn sknp(&mut self, reg: u8)
	{
		let state = self.input.get_key_states();
		let key = self.v[reg as usize];

		if !state[key as usize] { self.pc = self.pc + 2; }
	}
/// Skip next instruction if key with the value of Vreg is not pressed.
Skip next instruction if key with the value of Vreg is not pressed.
Skip next instruction if key with the value of Vreg is not pressed .
fn sknp(&mut self, reg: u8)
	{
		let state = self.input.get_key_states();
		let key = self.v[reg as usize];
		if !state[key as usize] { self.pc = self.pc + 2; }
	}
fn sknp ( & mut self , reg : u8 ) { let state = self . input . get_key_states ( ) ; let key = self . v [ reg as usize ] ; if ! state [ key as usize ] { self . pc = self . pc + 2 ; } }
Skip next instruction if key with the value of Vreg is not pressed.
Skip next instruction if key with the value of Vreg is not pressed .
&mut self
reg
u8