大家好:
我们购买了M430F5438A几套开发板,进行FFT的开发, 但当使用TI提供的MSP-EXP430F5438_User_Expertience(slac2271)时,我们希望使用IAR编译器开发,但当我们采用FFT_430.s43(源文件为FFT_430.asm; 请参考附件),发现如下编译错误:
2). movx.a #I_Vec,R14 ;points to source
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
大家好:
我们购买了M430F5438A几套开发板,进行FFT的开发, 但当使用TI提供的MSP-EXP430F5438_User_Expertience(slac2271)时,我们希望使用IAR编译器开发,但当我们采用FFT_430.s43(源文件为FFT_430.asm; 请参考附件),发现如下编译错误:
编译时报错如下:
1. Error[40]: Bad instruction D:\Project\Code\Product_FFT - 1\FFT_430.s43 140
汇编语言如下:
FFT_prog pushm.a #8,R11 ;preserve all save-on-entry registers
;of the CCS runtime environment
2. Error[40]: Bad instruction D:\Project\Code\Product_FFT - 1\FFT_430.s43 147
汇编语言如下:
movx.a #I_Vec,R14 ;points to source
3. Error[40]: Bad instruction D:\Project\Code\Product_FFT - 1\FFT_430.s43 268
汇编语言如下:
popm.a #8,R11 ;restore all save-on-entry
4. Error[40]: Bad instruction D:\Project\Code\Product_FFT - 1\FFT_430.s43 270
汇编语言如下:
reta
5. Error while running Assembler
请问:如何修改如上4条汇编语句,使FFT(FFT_430.s43 & FFT_430.asm)的算法能够正常编译&运行?