             
             // JP_ADDR (jump to a memory address)
             Opcode(code: 0x1000, callback: { arg in
-                let address = arg & 0x0FFF
-                self.pc = address
+                self.pc = arg & 0x0FFF
             }),
 
             // RET (return from a subroutine)

            
            // LD_V_K  (Set the register V to the value of the keypress by the keyboard (will wait for keypress))
            Opcode(code: 0xF00A, callback: { arg in
                
                let registerX = Int(arg & 0x0F00) >> 8
                
                repeat

                
                let registerX = Int(arg & 0x0F00) >> 8
                let value = UInt8(arg & 0x00FF)

                self.V[registerX] = random & value
            }),
            
