I don't know about imbalanced conditionals, but I do know that the asm.bat file tacks one line (#define TI83 or #define TI83P) onto your file when it compiles. So, if an error occurs on line 294 in temp.z80, it is actually 293 in your source. Hope this helps, Asm83P