machine ethics
part of the ethics of artificial intelligence
laws of robotics
set of laws, rules, or principles, which are intended as a fundamental framework to underpin the behavior of robots designed to have a degree of autonomy
part of the ethics of artificial intelligence