Skip to main content
Knowledgebase
Home
Renesas India - Knowledgebase

How do _@SEGAX to _@SEGHL that compiler outputs for storing used?

Latest Updated:11/20/2014

Question:

I am using the CA78K0R compiler for RL78 and 78K0R products. How are labels (_@SEGAX to _@SEGHL) that the compiler outputs for storing segment information used?

Answer:

Those labels are for locations where the higher-order byte is stored when a far pointer is transferred to a register.
They are used for temporary storage as long as the far pointer is set in the ES and CS registers.
Code including this symbol may be output whenever a far pointer or the standard library is used.
Suitable Products
C Compiler Package for RL78 and 78K Families
Compiler for RL78 Family and 78K0R [CA78K0R]
Compiler for 78K0R [CC78K0R]