Issac Asimov
FIRST LAW: A robot cannot harm a human or allow one to come to harm through inaction.
SECOND LAW: A robot must obey human orders, unless they conflict with the First Law.
THIRD LAW: A robot must protect its own existence, provided it doesn't conflict with the first two laws.