Answer
Slave codes prevented slaves from practicing religion, owning weapons, gathering in large groups, and learning to read and write, but not from being equal to poor whites, not allowed to practice skilled trades, not allowed to vote or travel, or equal to slaves.