compiler apparently produced faulty assembler with the previous version of this file. reordered code (no functionality change) and it worked.