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.

TMS320F280025: 汇编代码.retain作用

Part Number: TMS320F280025
Other Parts Discussed in Thread: TMS320F28035, TMS320F28335, TMS320F280049,

在codestartbranch.asm文件中需要对FLASH某个地址(定义为程序段flashflag,占用1个字空间)写入数据0x55FF。

在TMS320F28035、TMS320F28335和TMS320F280049中,使用如下代码:

.sect "flashflag"
.WORD 55FFH

在TMS320F280025中,必须使用如下代码,需增加一行汇编代码.retain,否则无法写入FLASH中。

.sect "flashflag"
.retain
.WORD 55FFH

请问汇编代码.retain作用是什么?280025与其它芯片在应用上有什么区别?