This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Startup code

Hello All:

How can I reference the start address of the startup code in start167.a66 in a C file? The only thing I can think of doing is

extern void C_STARTUP(void);
but that does not seem to work. As a work around I am pointing to the reset vector address which jumps to the startup code but I like to call it directly if possible.

Thanks,
Walt

Parents
  • As for unexpected implications, I don't think there are any. ?C_RESET is a local symbol, so no side effects outside startup.a66. None inside also, at least it seems so.

    Oh. Okay, then maybe the correct method should be to define a global label in the file for use by C functions that is set equal to the ?C_RESET label?

    - Mark

Reply
  • As for unexpected implications, I don't think there are any. ?C_RESET is a local symbol, so no side effects outside startup.a66. None inside also, at least it seems so.

    Oh. Okay, then maybe the correct method should be to define a global label in the file for use by C functions that is set equal to the ?C_RESET label?

    - Mark

Children