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.

[参考译文] 编译器:C28x MOVW 汇编语言指令

Guru**** 2589265 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/610935/compiler-c28x-movw-assembly-language-instruction

工具/软件:TI C/C++编译器

在 spru430中 、"MOVW DP、#16bit"表示"加载具有16位常数的数据页寄存器、DP (15:0)= 16位;"。

如果以下代码在我的软件中、"#_buff "是否代表立即常量值? 通常、以下代码是什么意思?

uint32_t buff;

asm (" MOVW  DP,#_buff ");