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

Link function from ROM

I want to write a small OS for 8051 (ROM Based). The initialization code needs to be placed in ROM let at the starting address. Next, the user needs to write the code such that the initialization functions should be called automatically in the microcontroller. The core part is how to link the functions in KEIL such that microcontroller will call functions automatically from ROM & what should be in the main OS file which needs to be linked in KEIL ? Any small example and suggestion except the RTOSes available?