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.

C67xx库中DSPF_sp_cfftr2_dit()函数的使用情况



在调用DSPLIB中的DSPF_sp_cfftr2_dit()这个函数的时候出现了中断不能被及时响应的问题,找到疑是的相应的汇编代码如下:

.global _DSPF_sp_cfftr2_dit
_DSPF_sp_cfftr2_dit:

       ; push all the registers (also CSR, IRP )
       SUBAW  .D2     B15,        16,       B15
||     B      .S1     no_int
||     MVC    .S2     CSR,        B1

       MV     .S1X    B15,        A1
||     STW    .D2T1   A10,        *B15[0]

       STW    .D2T2   B1,         *B15[2]
||     STW    .D1T1   A11,        *A1[1]

       STW    .D2T2   B11,        *B15[4]
||     STW    .D1T1   A12,        *A1[3]
||     AND    .L2     B1,         -2,       B1  ; disable interrupts
||     MVC    .S2     IRP,        B2

       STW    .D2T2   B2,         *B15[6]
||     STW    .D1T1   A13,        *A1[5]
||     MVC    .S2     B1,         CSR

       STW    .D2T2   B13,        *B15[8]
||     STW    .D1T1   A14,        *A1[7]

no_int:

在第13行出现了disable interrupts的注释,因为不懂汇编,所以不知如何修改。请问如果我要让中断能及时被响应,该如何修改?

谢谢!