CODE (n.):
c. 1300, "systematic compilation of laws," from Old French code "system of laws, law-book" (13c.), from Latin codex "systematic classification of statutory law," earlier caudex "book," literally "tree trunk," hence, book made up of wooden tablets covered with wax for writing.