1 ) From where you get this statement @CSize=CODE_SIZE ?
From my head 
CODE_SIZE
this is a PBP internal variable that return the code size of the PIC you use. If i open the 16F877.BAS file in the PBP directory and i scroll a little bit in, i will find the following...
YEAH! 16F877 is a 8K size
@CSize=CODE_SIZE
It define an assembler variable
Later i used
CSize con EXT
This allow to have this value available in the PBP code
3 ) You use in this code (CSize*1024)-512 can explain me about it ?
8K=8*1024 Bytes
the -512 is because i used the Bootloader. The bootloader program is usually located at the end of the codespace. so the first Table address is located 512 bytes before the codespace end.
Last edited by mister_e; - 21st October 2006 at 19:49.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks