myprog1.asm
来自「使用汇编语言对TMS320C2812进行编程的一个简单的工程模板。」· 汇编 代码 · 共 36 行
ASM
36 行
;*****************************************************************************/
;* */
;* FILENAME */
;* myprog1.asm */
;* */
;* DESCRIPTION */
;* TMS320C2812 DSK. */
;* A simple C-callable assembly language function. */
;* In the C code simply write "my_asm_function();" */
;* */
;* REVISION */
;* Revision: 1.00 */
;* Author : Richard Sikora */
;*---------------------------------------------------------------------------*/
;* */
;* HISTORY */
;* Revision: 1.00 */
;* 8th June 2004. Created by Richard Sikora. */
;* */
;*****************************************************************************/
.global _my_asm_function ; Function available to other functions
.sect ".text" ; Program goes in code space
_my_asm_function: ; Leading underscore indicates C function.
; PUT YOUR CODE HERE!
LRETR ; Return to calling function
;*****************************************************************************/
;* End of myprog1.asm */
;*****************************************************************************/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?