跳转到主内容
Knowledgebase
Home
Renesas Electronics China - Knowledgebase

Addition of processes after resetting (CC-RL)

Last Updated:04/17/2017

Question:

I am using the CC-RL compiler for RL78 devices. Is there a particular file to use if I want to add processing after a reset?

Answer:

When you create a project in the integrated development environment, the project includes the file cstart.asm.
This file is the startup routine, which has a description of the processing to be executed after a reset. Add the processing you require to this file.
You can also add processing in a hdwinit function which you create as part of your program, since the startup routine calls hdwinit.
Suitable Products
e² studio
CS+ (formerly CubeSuite+)
C Compiler Package for RL78 Family