dsp281x_codestartbranch.lst
来自「基于双向DC-DC变换器」· LST 代码 · 共 40 行
LST
40 行
TMS320C2000 COFF Assembler PC Version 3.09 Mon Apr 14 07:41:37 2008
Tools Copyright (c) 1996-2002 Texas Instruments Incorporated
DSP281x_CodeStartBranch.asm PAGE 1
1 ;// FILE: DSP281x_CodeStartBranch.asm
2
3 0001 WD_DISABLE .set 1 ;set to 1 to disable WD, else set to 0
4
5 .ref _c_int00
6
7 00000000 .sect "codestart"
8
9 00000000 code_start:
10 .if WD_DISABLE == 1
11 00000000 0040' LB wd_disable ;Branch to watchdog disable code
00000001 0000
12 .else
13 LB _c_int00 ;Branch to start of boot.asm in RTS library
14 .endif
15
16 .if WD_DISABLE == 1
17
18 00000000 .text
19 00000000 wd_disable:
20 00000000 561F SETC OBJMODE ;Set OBJMODE for 28x object code
21 00000001 7622 EALLOW ;Enable EALLOW protected register access
22 00000002 B9C0 MOVZ DP, #7029h>>6 ;Set data page for WDCR register
23 00000003 2829 MOV @7029h, #0068h ;Set WDDIS bit in WDCR to disable WD
00000004 0068
24 00000005 761A EDIS ;Disable EALLOW protected register access
25 00000006 0040! LB _c_int00 ;Branch to start of boot.asm in RTS library
00000007 0000
26
27 .endif
28
29 .end
No Assembly Errors, No Assembly Warnings
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?