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.A51

I've created my own Startup file to be used that calls

 cseg at 0 
along with many other things. But when I run the compiler, it pulls in
 cseg at 0 
from the pre-made STARTUP.A51 file contained in the library. Since I have already initialized cseg to 0 and then it is done again in the STARTUP.A51 file, I am getting an overlap error. I don't want to have to use the pre-made STARTUP.A51 file from the library but is there any way to keep it from automatically being called?

Parents
  • if the modified startup does not have the entry label and exit call you will get "startup missing" in commandline mode.

    I guess in the IDE mode that would make the standard get included.

    I imagine this is the part required:

    ?C_C51STARTUP    SEGMENT   CODE
    CSEG       AT    0
    ?C_STARTUP:
               ljmp    ?C_START
    
               end
    Erik

Reply
  • if the modified startup does not have the entry label and exit call you will get "startup missing" in commandline mode.

    I guess in the IDE mode that would make the standard get included.

    I imagine this is the part required:

    ?C_C51STARTUP    SEGMENT   CODE
    CSEG       AT    0
    ?C_STARTUP:
               ljmp    ?C_START
    
               end
    Erik

Children