• Configuring both Main and Process stacks
    Hi guys, I'm looking at the startup.s code for an M0 and am wondering how I can configure the process stack for my C code to use. To put this into context, I have a bootloader with the default...
  • How to modify startup.a51 to execute codes before main() ?
    Hi, I have couple of lines of codes to insert into startup.a51. However, placing them at different places of startup.a51, either cause memory overlap (this disable my interrupts) or not to be executed...
  • main function ?
    why in Keil compiler we define the main as int rather that void ? int main (void) rather than .... void main (void) ,like in C51
  • void main() {}
    I want to connect more than one peripherals to 8051 usind I2C.Can any body help me regarding code
  • main( ) function
    I want to know something regarding main function. For an application, the syntax for main function is something like: void main(void) { // ... // code // ... } but if we write as: int main(void...