Dear Get (assuming that is your name), > The startup code is the pic asm version of this routine? > > sdcc/device/lib/libsdcc/idata.c > void _sdcc_gsinit_startup(void) > > For PIC14 (for example p16f84)
No, its from sdcc/device/lib/pic/libsdcc/idata.c. > The real program will start at 0xCD ? According to the listing, and if you refer to the code of main(), then yes: > _main ;Function start > ; 2 exit points > ; .line 7; "blinkled.c" TRISB = 0; > 0000cd 1683 bsf 0x3, 0x5 BANKSEL _TRISB > 0000ce 0186 clrf 0x6 CLRF _TRISB Why would either of this be important? What is your problem?!? Rather confused, Raphael BTW: Such questions do *not* belong on the sdcc-devel list, rather use the Help forum or this sdcc-user list. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user