Skip to main content
Knowledgebase
Home
Renesas India - Knowledgebase

Are there cautions pertaining to compile and link should be aware of?

Latest Updated:12/01/2011

Question:

I'm using the GHS compiler.
The contents of ISP (r2) differ from the expected value in the OS and the OS jumps to an unexpected location.
ISP seems not to be saved within the OS.
Are there any cautions pertaining to compiling and linking I should be aware of?

Answer:

r2 and r5 cannot be used when using the GHS compiler.
Specify the -reserve_r2 and -reserve_r5 options.
Suitable Products