[QUOTE=lew247;82042]I'm not sure that's how you measure the code space.
QUOTE]
Most editor/programming environemtns provide this at the time you compile. For example, I use MicroCodeStudio with the PicBasicPro compiler and the MASM assembler and when you compile it tells you how much code memory is required at the bottom left of the MicroCodeStudio window.
I have also used the mikroElectronik PICFlash programmer to take a .hex file that was created by the MicroCodeStudio/PicBasicPro/MASM and it shows at the bottom left of the window the amount of code and data memory available in the target device.
Bookmarks