The def slot of a word holds a quotation instance that is called when the word is executed.

A primitive to get the memory range storing the machine code for a word:
word-code ( word -- start end )