Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个基于 IAR ARM 的混合汇编程序和 C 项目。我在 C 头文件中有一些#define,我喜欢在汇编文件中使用(导入)它们。有人能告诉我这是可能的吗?
非常感谢。
当然,只要你能把语法做得很好。只需在汇编之前通过 C 预处理器运行您的汇编文件。