I would not call it a "code of morality", but rather a set of regulations designed to allow Muslim men to live together with a minimum amount of killing each other (killing infidels is OK).
What most people don't understand, those who have not critically read the Quran, the Hadiths, and the Sirat, is that the Islamic community (the Ummah) is an army. It is an army with the mission of subjugating the rest of the world under Islam.
Only a minority are engaged in actual fighting. Then again, in the US military, only a small minority is engaged in actual fighting, with the rest having the job of supplying, transporting, feeding, and otherwise looking after the needs of the actual fighters.
In Islam, it is similar. Each and EVERY Muslim man has the DUTY of either engaging in Jihad, or in supporting those who are engaged in active Jihad. And Jihad is not just blowing people up. Jihad includes daily acts of intimidation against infidels, making infidels comply with Islamic demands and resisting any attempt to assimulate Muslims into the infidel culture.
In this system, girls have the duties of (1) keeping men sexually satisfied so they'll be better fighters, and (2) giving birth to fighters.
Is really what muhammod (sp), the inventer of this cult, wanted?