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.
精彩评论