Skip to main content
Renesas Singapore - Knowledgebase

Output of an S8 record in a Motorola S-record file (CC-RL)

Last Updated:01/31/2018


I am using RL78 compiler CC-RL. How can I specify S8 for the end record in the Motorola S-record file? I have changed the settings but I only get S9 record.


In CC-RL V1.05.00 and later, the -end_record option of the linker specifies the end record.

If you are using CC-RL V1.05.00 or later and the -end_record option is not being specified, or if you are using CC-RL V1.04.00 or earlier, S8 or S9 record is output to suit the address of the entry point.
The entry address is the address specified by the linker’s -entry option (a symbol is also acceptable). 
If the -entry option is not specified, S9 record with the entry address 0 is output.

However, note that, in CC-RL V1.04.00 and earlier S8 and S9 cannot be specified for the end record.

Suitable Products
e² studio
CS+ (formerly CubeSuite+)
C Compiler Package for RL78 Family