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

Is it possible to write assembly language in “nnH” form?

Latest Updated:04/24/2015

Question:

I am using the CC-RL compiler for RL78 devices. When I write constants in assembly language, I want them to be in the form “nnH” as in the hardware manual. Would this be possible?

Answer:

By default, “0xnn” is interpreted as a numerical value. Specify the assembler option -base_number=suffix to make notations of the form “nnH” recognizable as numerical values.
Suitable Products
e² studio
CS+ (formerly CubeSuite+)
C Compiler Package for RL78 Family