Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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.

Latest threads

New Articles From Microcontroller Tips

Back
Top