lawA robot may not injure a human being, or, through inaction, allow a human being to come to harm. "The First Law of Robotics"
What I will be remembered for are the Foundation Trilogy and the Three Laws of Robotics. What I want to be remembered for is no one book, or no dozen books. Any single thing I have written can be paralleled or even surpassed by something someone else has done. However, my total corpus for quantity, quality and variety can be duplicated by no one else. That is what I want to be remembered for.
You might however consider whether you should not unfold as a background the great privilege of habeas corpus and trial by jury, which are the supreme protection invented by the English people for ordinary individuals against the state. The power of the Executive to cast a man in prison without formulating any charge known to the law, and particularly to deny him the judgment of his peers is in the highest degree odious and is the foundation of all totalitarian government, whether Nazi or Communist. In a telegram by Churchill from Cairo, Egypt to Home Secretary Herbert Morrison (1943-11-21).
One has not only a legal, but a moral responsibility to obey just laws. Conversely, one has a moral responsibility to disobey unjust laws.
There is one all-important law of human conduct. If we obey that law, we shall almost never get into trouble. In fact, that law, if obeyed, will bring us countless friends and constant happiness. But the very instant we break the law, we shall get into endless trouble. The law is this: Always make the other person feel important.
The customs of your tribe are not laws of nature.
Judges ought to remember, that their office is jus dicere, and not jus dare; to interpret law, and not to make law, or give law.
The Law of conservation of energy tells us we can't get something for nothing, but we refuse to believe it.
A robot must protect its own existence as long as such protection does not conflict with the First or Second Laws. "The Third Law of Robotics"
A robot must obey the orders given it by human beings except where such orders would conflict with the First Law. "The Second Law of Robotics"
Let's put it this way: if you need to ask a lawyer whether what you do is "right" or not, you are morally corrupt. Let's not go there. We don't base our morality on law.