메인 콘텐츠로 건너뛰기
Knowledgebase
Home
Renesas Korea

The difference between the .SECTION and .CSEG directives (CC-RL)

Last Updated:04/17/2017

Question:

I am programming with the assembler that comes as part of the CC-RL compiler for RL78 devices. What is the difference between the .SECTION and .CSEG directives?

Answer:

The .SECTION directive can be used to direct the assembler where to start sections of code or data. 
The .CSEG directive can only be used to direct the assembler where to start sections of code. 
For the details of the section-related directives, refer to the manual at the URL below.

https://www.renesas.com/products/software-tools/tools/compiler-assembler/compiler-package-for-rl78-family.html#documents

CC-RL Compiler User's Manual
5.2.2 Section definition directives
Suitable Products
e² studio
CS+ (formerly CubeSuite+)
C Compiler Package for RL78 Family
  • 이 기사가 도움이 되셨나요?