?? x1.lst
字號:
TMS320C1x/C2x/C2xx/C5x COFF Assembler Version 6.60 Tue Apr 16 14:54:22 2002
Copyright (c) 1987-1995 Texas Instruments Incorporated
X1.asm PAGE 1
1 0000 .bss a,1
2 .def start
3 .def PHANTOM
4 0000 .data
5 0000 000c table .int 12,13
0001 000d
6 702b ckcr0 .set 702bh
7 702d ckcr1 .set 702dh
8 7090 ocra .set 7090h
9 7092 ocrb .set 7092h
10 7023 wdcntr .set 7023h
11 7025 wdkey .set 7025h
12 7029 wdcr .set 7029h
13
14 7090 ocra .set 7090h
15 7092 ocrb .set 7092h
16 7400 gptcon .set 7400h
17 7401 t1cnt .set 7401h
18 7402 t1cmpr .set 7402h
19 7403 t1pr .set 7403h
20 7404 t1con .set 7404h
21 7408 t2con .set 7408h
22 740c t3con .set 740ch
23 7411 comcon .set 7411h
24 7413 actr .set 7413h
25 7414 sactr .set 7414h
26 7415 dbtcon .set 7415h
27 7420 capcon .set 7420h
28
29 kick_dog .macro
30 ldp #0e0h
31 splk #05555h,wdkey
32 splk #0aaaah,wdkey
33 ldp #0h
34 .endm
35 0002 7980 PHANTOM: B PHANTOM
0003 0002"
36 0000 .text
37 0000 start:
38 0000 bce0 ldp #0e0h
39 0001 ae29 splk #002fh,wdcr
0002 002f
40 0003 kick_dog
1 0003 bce0 ldp #0e0h
1 0004 ae25 splk #05555h,wdkey
0005 5555
1 0006 ae25 splk #0aaaah,wdkey
0007 aaaa
1 0008 bc00 ldp #0h
41
42 0009 bce0 ldp #ckcr0>>7
43 000a ae2b splk #80h,ckcr0
000b 0080
44 000c ae2d splk #0c0h,ckcr1
000d 00c0
TMS320C1x/C2x/C2xx/C5x COFF Assembler Version 6.60 Tue Apr 16 14:54:22 2002
Copyright (c) 1987-1995 Texas Instruments Incorporated
X1.asm PAGE 2
45
46 000e bce1 ldp #ocra>>7
47 000f ae10 splk #0800h,ocra
0010 0800
48 0011 bce8 ldp #232
49 0012 ae00 splk #42h,gptcon
0013 0042
50 0014 ae03 splk #5h,t1pr
0015 0005
51 0016 ae02 splk #3h,t1cmpr
0017 0003
52 0018 ae01 splk #0h,t1cnt
0019 0000
53 001a ae04 splk #9002h,t1con
001b 9002
54 001c ae04 splk #9042h,t1con
001d 9042
55 ;splk #0a842h,t1con;continuous up/dowm mode,enable operation
56 ;splk #0001001000000111b,comcon;1207h
57 ;splk #9207h,comcon
58
59 001e 8b00 nop
60 001f 7980 b start
0020 0000'
61 end
No Errors, No Warnings
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -