Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] location of built in functions C30

Status
Not open for further replies.

ponnus

Full Member level 2
Full Member level 2
Joined
Mar 17, 2011
Messages
142
Helped
8
Reputation
16
Reaction score
8
Trophy points
1,298
Location
Cochin, INDIA
satheeshchalackal.blogspot.in
Activity points
2,226
Hai everyone,

I am asking this just out of curiosity.

I am using Microchip C30 compiler to develop EEPROM driver code for PIC24F.
During this I used C30 builtin functions such as
__builtin_tblwtl(), __builtin_tbloffset etc.
How can I find the location of builtin functions? From Wiki I found this:
Some compilers (for example, GCC[7]) provide built-in versions of many of the functions in the C standard library; that is, the implementations of the functions are written into the compiled object file, and the program calls the built-in versions instead of the functions in the C library shared object file

Does this mean that these functions are written inside the object files of compiler?So does that mean we cannot see it as a code?
I have searched the entire C30 directory and didn't find these functions.

Thank you
 

Built-in usually means, the code is generated by the compiler. You'll see in in a disassembler view, probably without any comments.
 

Hai,
Ok, so the code is compiler generated. I was searching for the source code of builtin functions in the compiler installed directory. Now,I saw the assembly code in Disassembly listing.

Thank You
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top