The solution: First make sure you typed "compile myprog" and not "compile myprog.z80" or just "myprog".
Section 1.4---Compiling using TASM