在IAR平台调试程序时,发现对于堆栈指针(SP)的加减运算时,反汇编窗口中显示的汇编代码是adda和suba这样的20位地址运算,为什么我看到别人的汇编代码中却是add和sub这样的16位操作运算,CPU为430F5438A,数据模式和代码模式都选择的是Large,有什么设置可以在“数据模式和代码模式都是Large”的情况下,让编译器将对于SP的操作采用16位运算符
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.
在IAR平台调试程序时,发现对于堆栈指针(SP)的加减运算时,反汇编窗口中显示的汇编代码是adda和suba这样的20位地址运算,为什么我看到别人的汇编代码中却是add和sub这样的16位操作运算,CPU为430F5438A,数据模式和代码模式都选择的是Large,有什么设置可以在“数据模式和代码模式都是Large”的情况下,让编译器将对于SP的操作采用16位运算符