fn op_Ex9E(&mut self, x: usize, pressed_keycodes: &BTreeSet<u8>) {
        if pressed_keycodes.contains(&self.V[x]) {
            self.pc.skip_next();
        } else {
            self.pc.goto_next();
        }
    }
// Skip next instruction if key with the value of Vx is pressed.
Skip next instruction if key with the value of Vx is pressed.
Skip next instruction if key with the value of Vx is pressed .
fn op_Ex9E(&mut self, x: usize, pressed_keycodes: &BTreeSet<u8>) {
        if pressed_keycodes.contains(&self.V[x]) {
            self.pc.skip_next();
        } else {
            self.pc.goto_next();
        }
    }
fn op_Ex9E ( & mut self , x : usize , pressed_keycodes : & BTreeSet < u8 > ) { if pressed_keycodes . contains ( & self . V [ x ] ) { self . pc . skip_next ( ) ; } else { self . pc . goto_next ( ) ; } }
Skip next instruction if key with the value of Vx is pressed.
Skip next instruction if key with the value of Vx is pressed .
&mut self
x
usize
pressed_keycodes
&BTreeSet<u8>
&mut self
x
usize
pressed_keycodes
&BTreeSet<u8>