Add functions to generate machine code