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.

在ccs5中如何使用内联汇编?

Other Parts Discussed in Thread: MSP430G2553

如题,怎样在ccs5中的c文件使用内联汇编?我现在想在一个函数中读取SP栈指针的值,要怎么做?

我的尝试:在c函数中写asm(“mov sp &c”);编译正确,但是debug的时候提示:Load Program Error,请问该如何解决?

使用msp430g2553 launchpad

sdk:ccs5