Hi,

 

I’m new user of SDCC compiler and executing tests with PIC16F and PIC18F.

 

I need change program memory address of start my application. In assembly use the ORG instruction. In PIC16 exist de “#pragma code” macro, more in PIC14 this macro generate message “warning 115: unknown or unsupported #pragma directive 'code'”. I have a Boot-Loader and like porting to SDCC compiler. Exist a metod to this?

 

Other question is: Not is possible make interrupt function handler in different file o main? I try this and compiler “gpasm” generate de message “:Error [113] Symbol not previously defined (_Interrupts).”, the “Interrupts” is name of function.

 

 

Luciano de Barros