Basics of intercode generation