d) all of these
The main principles of the code of chivalry typically include ideals such as charity, kindness, loyalty, courage, honesty, respect for authority, and protecting the weak and defenseless. So, the options a), b), and c) are all part of the main principles of the code of chivalry.