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.

C6678 汇编指令问题



硬件:C6678

我定义了一个任务切换的结构体,如下

T_SP .set 0  +4

T_Startaddress .set 4  +4

T_A0  .set 8   +4

T_A1 .set 12  +4

...

T_A31 ...

T_B0 ...

...

T_B15 ...

...

T_B31

T_Framesize ...

然后我使用如下语句,把SP存储到*+A4(T_B15)的位置

STW    SP,*+A4(T_15);

但是编译的时候报错:

B14 or B5 as long based displacement address