I am using the CC-RL compiler for RL78 devices. I get the error message below when I attempt access to the PSW. I have included iodefine.h. Is there any way around this?
E0520020: Identifier " PSW " is undefined.
There is no PSW definition in iodefine.h file, since you cannot access the PSW directly. Use the following intrinsic functions for PSW operations.
- __get_psw This returns the contents of the PSW.
- __set_psw This sets a value for the PSW.
|CS+ (formerly CubeSuite+)|
|C Compiler Package for RL78 Family|