Doubt regarding crt0.s file

Status
Not open for further replies.

abhils44

New Member
Hi

I am new to PIC controller development, I want to know what crt0.s file does.
If I include crt0.s and main.c in my project, how will compiler know which file to execute first.

Because in one of my workspace for PIC24, the execution is first going to crt0.s, but in another workspace for PIC18, the execution is going to main directly.

So just wanted to know the difference in execution sequences.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…