Implemented wait on keypress opcode