This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to import a constant symbol defined in assembly to C module?

Hi all,

I defined some symbols in my assembly module. But I also need to use them in my C files. I don't want to define it twice at different places. How can I make those constants visible in C file?
For example, I define a constant in .a66 like following,
Kf_100_init equ 20133

What I want to do in a C file is,
freq = tmp * Kf_100_init;

0