The behavior of knights was governed by a code of honor called