Hi, thanks for the reply! The .map file says:
17 202 bytes of CODE memory
25 bytes of DATA memory (+ 30 absolute )
1 522 bytes of XDATA memory
64 bytes of IDATA memory
8 bits of BIT memory
Errors: none
Warnings: none
So I guess the file size is well within the 32K limit. Well, I will try to backtrace the changes one by one as you suggested.