fn skp(&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 pressed.
Skip next instruction if key with the value of Vreg is pressed.
Skip next instruction if key with the value of Vreg is pressed .
fn skp(&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 skp ( & 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 pressed.
Skip next instruction if key with the value of Vreg is pressed .
&mut self
reg
u8