/koʊd/1 syllablenoun, verb#826 of the 30,000 most common English words
Code reaches English through Middle English, Old French and Latin. Code today means “A short textual designation, often with little relation to the item it represents”.
Etymology of code
From Middle English code (“system of law”), from Old French code (“system of law”), from Latin cōdex, later form of caudex (“the stock or stem of a tree, a board or tablet of wood smeared over with wax, on which the ancients originally wrote; hence, a book, a writing.”). Doublet of codex. Verb etymology 1, verb sense 7 is an ellipsis of code blue (“medical emergency”).
Etymology text from Wiktionary (CC BY-SA 4.0). Asterisked forms are reconstructed, not attested.