?? f243cap1.lst
字號:
C:\TIC2XX\C2000\CGTOOLS\BIN\DSPA.EXE -v2xx -l -s -x -q ..\temp\f243cap1.asm ..\obj\f243cap1.obj -tC:\WINDOWS\TEMP\f243cap1.tmp
TMS320C1x/C2x/C2xx/C5x COFF Assembler Version 7.00 Tue May 6 12:42:33 2003
Copyright (c) 1987-1999 Texas Instruments Incorporated
..\temp\f243cap1.asm PAGE 1
1 *******************************************************
2 * TMS320C2x/C2xx/C5x ANSI C Codegen Version 7.00
3 *******************************************************
4 ; C:\TIC2XX\C2000\CGTOOLS\BIN\DSPAC.EXE -v2xx -q f243cap1.c C:\WINDOWS\TEMP\f243cap1.if
5 ; dspopt NOT RUN
6 ; C:\TIC2XX\C2000\CGTOOLS\BIN\DSPCG.EXE -v2xx -o -q -o C:\WINDOWS\TEMP\f243cap1.if C:\WINDOWS\TEMP\f243cap
7 .port
8 .file "f243cap1.c"
9 .file "..\include\regs24x.h"
10 .globl _portffff
11 .globl _port0
12 .globl _port1
13 .globl _port2
14 .globl _port3
15 .globl _port4
16 .file "..\include\F243_CAP.h"
17
18 .stag .fake0,48
19 .member _time_stamp,0,4,8,16
20 .member _init,16,148,8,16
21 .member _read,32,148,8,16
22 .eos
23 .sym _CAPTURE,0,8,13,48,.fake0
24 .sym _CAPTURE_handle,0,24,13,16,.fake0
25 .globl _F243_CAP_Init
26 .globl _F243_CAP1_Read
27 .file "f243cap1.c"
28 0000 .text
29
30 .sym _F243_CAP_Init,_F243_CAP_Init,32,2,0
31 .globl _F243_CAP_Init
32
33 .func 35
34 ;>>>> void F243_CAP_Init(CAPTURE_handle p)
35 ******************************************************
36 * FUNCTION DEF : _F243_CAP_Init
37 ******************************************************
38 0000 _F243_CAP_Init:
39
40 0000 LF1 .set 0
41
42 0000 8aa0 POPD *+
43 0001 80a0 SAR AR0,*+
44 0002 8180 SAR AR1,*
45 0003 b001 LARK AR0,1
46 0004 00eb LAR AR0,*0+,AR3
47
48 .sym _p,-3+LF1,24,9,16,.fake0
49 .line 2
50 .line 3
51 ;>>>> CAPCON=CAP_INIT_STATE; /* Set up capture units */
52 0005 bf0b LARK AR3,29728
0006 7420
53 0007 ae80 SPLK #-20312,*
TMS320C1x/C2x/C2xx/C5x COFF Assembler Version 7.00 Tue May 6 12:42:33 2003
Copyright (c) 1987-1999 Texas Instruments Incorporated
..\temp\f243cap1.asm PAGE 2
0008 b0a8
54 .line 4
55 ;>>>> T2CON= TIMER_INIT_STATE; /* Set up capture timer */
56 0009 7c18 SBRK 24
57 000a ae90 SPLK #-27840,*-
000b 9340
58 .line 5
59 ;>>>> T2PR=0x7fff;
60 000c ae8c SPLK #32767,* ,AR4
000d 7fff
61 .line 7
62 ;>>>> OCRA=OCRA|0x38; /* Set up the capture pins to primary functions */
63 000e bf0c LARK AR4,28816
000f 7090
64 0010 b938 LACK 56
65 0011 6d80 OR *
66 0012 9089 SACL * ,AR1
67 0013 EPI0_1:
68 .line 9
69 0013 7c02 SBRK 2
70 0014 0090 LAR AR0,*-
71 0015 7680 PSHD *
72 0016 ef00 RET
73
74 .endfunc 43,000000000H,1
75
76 .sym _F243_CAP1_Read,_F243_CAP1_Read,36,2,0
77 .globl _F243_CAP1_Read
78
79 .func 46
80 ;>>>> int F243_CAP1_Read(CAPTURE_handle p)
81 ******************************************************
82 * FUNCTION DEF : _F243_CAP1_Read
83 ******************************************************
84 0017 _F243_CAP1_Read:
85
86 0000 LF2 .set 0
87
88 0017 8aa0 POPD *+
89 0018 80a0 SAR AR0,*+
90 0019 8180 SAR AR1,*
91 001a b001 LARK AR0,1
92 001b 00eb LAR AR0,*0+,AR3
93
94 .sym _p,-3+LF2,24,9,16,.fake0
95 .line 2
96 .line 3
97 ;>>>> if((CAPFIFO&0x0100)!=0)
98 001c bf0b LARK AR3,29730
001d 7422
99 001e 4780 BIT * ,7
100 001f e200 BBZ L1
0020 002b'
101 .line 5
TMS320C1x/C2x/C2xx/C5x COFF Assembler Version 7.00 Tue May 6 12:42:33 2003
Copyright (c) 1987-1999 Texas Instruments Incorporated
..\temp\f243cap1.asm PAGE 3
102 ;>>>> p->time_stamp=CAP1FIFO;
103 0021 8baa MAR *+,AR2
104 0022 bf0a LARK AR2,-3+LF2
0023 fffd
105 0024 8be0 MAR *0+
106 0025 048b LAR AR4,* ,AR3
107 0026 108c LAC * ,AR4
108 0027 9080 SACL *
109 .line 6
110 ;>>>> return(0);
111 ;>>>> else
112 0028 b900 LACK 0
113 0029 7980 B EPI0_2
002a 002c'
114 002b L1:
115 .line 10
116 ;>>>> return(1);
117 002b b901 LACK 1
118 002c EPI0_2:
119 .line 13
120 002c 8b89 MAR * ,AR1
121 002d 7c02 SBRK 2
122 002e 0090 LAR AR0,*-
123 002f 7680 PSHD *
124 0030 ef00 RET
125
126 .endfunc 58,000000000H,1
127 .end
No Errors, No Warnings
TMS320C1x/C2x/C2xx/C5x COFF Assembler Version 7.00 Tue May 6 12:42:33 2003
Copyright (c) 1987-1999 Texas Instruments Incorporated
..\temp\f243cap1.asm PAGE 4
LABEL VALUE DEFN REF
.TMS32010 0000 0
.TMS32016 0000 0
.TMS32020 0000 0
.TMS32025 0000 0
.TMS3202XX 0001 0
.TMS32050 0000 0
.TMS32056 0000 0
.TMS32057 0000 0
.TMS320XX 001d 0
.tms32010 0000 0
.tms32016 0000 0
.tms32020 0000 0
.tms32025 0000 0
.tms3202xx 0001 0
.tms32050 0000 0
.tms32056 0000 0
.tms32057 0000 0
.tms320xx 001d 0
EPI0_1 0013 ' 67
EPI0_2 002c ' 118 113
L1 002b ' 114 100
LF1 0000 40 48
LF2 0000 86 94 104
_F243_CAP1_Read 0017 ' 84 26 76 76 77
_F243_CAP_Init 0000 ' 38 25 30 30 31
_port0 REF 11
_port1 REF 12
_port2 REF 13
_port3 REF 14
_port4 REF 15
_portffff REF 10
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -