-
dsPIC33EP64GS505汇编与C混合编程问题
您好:我想在汇编文件中调用C文件定义的变量,但编译报错,具体做法和报错情况如下:C头文件(.h):#include"xc.h"#includeexternint16_tdcmCorrFactorC源文件(.C):#include"Variables_s.h"int16_tdcmCorrFactor=32767;汇编文件(.S):#include"Variables_s.h".include"p33Exxxx.inc"mov_dcmCorrFactor,w12编译时报错:\support\dsPIC33E\h/p33EP64GS505.h:26785:Error:Invalidmnemonic:'extern'感觉像是头文件调用冲突了麻烦哪位大神帮忙指导下,如何处理,万分感谢!!!
2021-03-15 5