Slave codes placed harsh restrictions on slaves' already limited freedoms, often in order to preempt rebellion or escape, and gave slave owners absolute power over their slaves. Each state's slave codes varied to suit the law of that particular region.(hope that helped) :>