Stack initialization assembly code
Stack initialization assembly code
The Renesas CC-RL compiler provides some stack initialization code in the startup assembly.
Is there such code available for the GCC compiler?
I need to initialize the stack as I need it in my hardware init code before reaching main().
regards
Sudesh
Hello,
Creating a new RL78 project in e2studio will automatically generate files containing the necessary startup instructions based on the desired device. You can find the stack initialization code in the generate/start.S assembly file.
Please let us know if we can be of further assistance.
Best regards,
The GNU Tools Team
×