Microchip says the 16F616 ROM (program space) is 3.5Kbytes, but
BoostC Optimizing C Compiler Version 6.87 (for PIC16 architecture) will only compile a program up to 1024 words (2Kbytes).
It gives the following output at the end of build:
Memory Usage Report
RAM available:128 bytes, used:75 bytes (58.6%), free:53 bytes (41.4%),
Heap size:53 bytes, Heap max single alloc:20 bytes
ROM available:1024 words, used:759 words (74.2%), free:265 words (25.8%)
I'm using MPLAB, but get the same results from SourceBoost IDE.
I also get the same results for 16F610 PIC, which should be 2K bytes, so that one looks correct.
Thanks for any help,