insertion of interrupt-code from unit

General discussion on mikroPascal for dsPIC30/33 and PIC24.
Post Reply
Author
Message
jpc
Posts: 1986
Joined: 22 Apr 2005 17:40
Location: France 87

insertion of interrupt-code from unit

#1 Post by jpc » 19 Sep 2008 13:25

i noticed that in case of using a unit containing ISR's these are automatically inserted in the code by the compiler , even if they are not used. This can be a problem as they occupy ROM and possibly RAM. I can see this is a nasty situation , the compiler recognizes the ISR-vectors in the ORG-ed procedures , automatically generates the vector and now needs to add the code. Maybe this needs some rethinking.

Post Reply

Return to “mikroPascal for dsPIC30/33 and PIC24 General”