Hardcoded program memory limits
Issue #4
new
The limits for program memory are hardcoded (to 0x8000 ; which corresponds to 32KB program memory, as is the case for the 18f2550) , but some different MCUs have different program memory. For example, the PIC 18f2420 has 16KB (0x4000).
This can be fixed by replacing hardcoded limits with a var (programMem) and storing various values for different PICs in a dictionary keyed by MCU name.