开发者

Is IAR assembler possible to import #define from C header to assembler?

I have a mixed assembler and C project based on IAR ARM. I have some #define in C header, I like to use (import) them in assembler fil开发者_StackOverflow中文版e. Could anybody tell me it is possible?

Many thanks.


Sure, as long as you can make the syntax play nice. Just run your assembly file through the C preprocessor before assembling.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜