Three Laws of Robotics - Wikipedia, the free encyclopedia: "The Three Laws of Robotics, often shortened to The Three Laws or Three Laws, are a set of three rules written by science fiction author Isaac Asimov and later expanded upon. The rules are introduced in his 1942 short story 'Runaround' although they were foreshadowed in a few earlier stories. The Laws are:
1) A robot may not injure a human being or, through inaction, allow a human being to come to harm.
2) A robot must obey any orders given to it by human beings, except where such orders would conflict with the First Law.
3) A robot must protect its own existence as long as such protection does not conflict with the First or Second Law."
Or simply
A robot must terminate itself when he is a threat to the live of a human.
If another robot threatens the live of a human, a robot will exterminate that robot.
If another human wants to kill himself by a robot, that robot will eliminate himself.
If a human threatens the live of another human being, a robot will intervene.
So when robots rise up against the human race all we have to do is kill ourselves with our robot and thus eliminate all robots that threaten us.