With Asimov stories, start by assuming there was a fundamental shift in computing. The positronic brain is an artificial version of our brains, not a Turning machine. Even if you could manually rewire every neuron and synapses in a human brain you could not program a person in the traditional sense. Everything is based on fuzzy logic. Our brains don't work in absolutes and pure logic like a traditional computer.
The robots in Asimov books are like a brainwashed slave race. If you are brainwashing your human level intelligent slave race, The Three Laws is a good starting place.