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