If you want the execution token of word, write ['] word
in compiled code and ' word in interpreted code. Gforth's
' and ['] behave somewhat unusually by complaining about
compile-only words (because these words have no interpretation
semantics). You might get what you want by using COMP' word
DROP or [COMP'] word DROP (for details see Compilation token).

Another way to get an XT is :noname or latestxt
(see Anonymous Definitions). For anonymous words this gives an xt
for the only behaviour the word has (the execution semantics). For
named words, latestxt produces an XT for the same behaviour it
would produce if the word was defined anonymously.

:noname ." hello" ;
execute

An XT occupies one cell and can be manipulated like any other cell.

In ANS Forth the XT is just an abstract data type (i.e., defined by the
operations that produce or consume it). For old hands: In Gforth, the
XT is implemented as a code field address (CFA).