📄 vhz.lst
字号:
dspa -l -s -i../../../../rtmon/ -i../include -i../../../../lib/dmclib/clib/include -i../../../../lib/drvlib/clib/include -v2xx -iC:/ti/c2400/cgtools/include ../temp/vhz.asm ../obj/vhz.obj -tC:\WINDOWS\TEMP\vhz.tmp
TMS320C24xx COFF Assembler Version 7.02 Mon Apr 28 14:36:15 2003
Copyright (c) 1987-2002 Texas Instruments Incorporated
../temp/vhz.asm PAGE 1
1 *******************************************************
2 * TMS320C24xx ANSI C Codegen Version 7.02
3 *******************************************************
4 ; dspac -i../../../../rtmon/ -i../include -i../../../../lib/dmclib/clib/include -i../../../../lib/drvlib/c
5 ; dspopt NOT RUN
6 ; dspcg -o -v2xx -o C:\WINDOWS\TEMP\vhz.if C:\WINDOWS\TEMP\vhz.asm C:\WINDOWS\TEMP\vhz.tmp
7 .port
8 0000 .bss _pwm,7,1
9 0007 .bss _cap,3
10 000a .bss _speed,9
11 0013 .bss _vhz,36
12 0037 .bss _dac,6
13 003d .bss _wdog,2
14 003f .bss _drive,3
15 0042 .bss _phantom_count$1,1
16 0043 .bss _isr_ticker,1
17 .file "vhz.c"
18 .file "../../../../lib/drvlib/clib/include\regs240x.h"
19 .globl _portffff
20 .globl _portff0f
21 .globl _port0
22 .globl _port1
23 .globl _port2
24 .globl _port3
25 .globl _port4
26 .file "../include\sysvecs.h"
27 .include "..\..\..\..\rtmon\c200mnrt.i"
28 .include "..\..\..\..\lib\drvlib\clib\include\x24x.h"
29 0000 .sect "vectors"
30 .ref _c_int0
31 0000 7980 B _c_int0 ;00h reset
0001 0000!
32 0002 7980 B _phantom ;02h INT1
0003 0087'
33 0004 7980 B _c_int02 ;04h INT2
0005 0042'
34 0006 7980 B _phantom ;06h INT3
0007 0087'
35 0008 7980 B _phantom ;08h INT4
0009 0087'
36 000a 7980 B _phantom ;0Ah INT5
000b 0087'
37 000c 7980 B _phantom ;0Ch INT6
000d 0087'
38 .if ( 1 ) ; macro occupies fourteen words in the vector table.
39
40 000e MON_EINTR mon_eintr_vecs ; 0E
1 ; Begin the vector 0x000E - 0x001B code.
1 ;
1 000e 8e00! SST #0, MON_TEMP_ST0 ; Save ST0
1 000f 8f00! SST #1, MON_TEMP_ST1 ; Save ST1
1 0010 bc00! LDP #MON_PGE0_DP ; Set DP to PAGE0.
1 0011 8a00! POPD MON_TEMP_PC ; Save the PC.
1 ;
TMS320C24xx COFF Assembler Version 7.02 Mon Apr 28 14:36:15 2003
Copyright (c) 1987-2002 Texas Instruments Incorporated
../temp/vhz.asm PAGE 2
1 .if (MON_RGST == MON_RGST_ANY)
1 SACL MON_TEMP_ACCL ; Save the low accumalator.
1 SACH MON_TEMP_ACCH ; Save the high accumalator.
1 .endif
1 .if (MON_RGST == MON_RGST_ZRO)
1 0012 9000! SACL MON_ACCL ; Save the low accumalator.
1 0013 9800! SACH MON_ACCH ; Save the high accumalator.
1 .endif
1 ;
1 0014 6904 LACL IMR ; Disable selected interrupts.
1 0015 9000! SACL MON_IMR_SAVE ;
1 0016 bfb0 ANDK #(MON_INT_MSK) ;
0017 0000!
1 0018 9004 SACL IMR ;
1 ;
1 0019 be40 EINT ; Enable interrupts.
1 ;
1 001a 7980 B MON_INTR_ENTRY ; Go to the fixed entry point
001b 0000!
1 ; for emulation interrupts.
1 ;
1 ; End the vector 0x000E - 0x001B code.
41 ; 10
42 ; 12
43 ; 14
44 ; 16
45 ; 18
46 ; 1A
47 .else ; macro not in vector table.
48 MON_EINTR_B B MON_EINTR ; 0E
49 HUNG10 B HUNG10 ; 10
50 HUNG12 B HUNG12 ; 12
51 HUNG14 B HUNG14 ; 14
52 HUNG16 B HUNG16 ; 16
53 HUNG18 B HUNG18 ; 18
54 HUNG1A B HUNG1A ; 1A
55 .endif
56 001c 7980 HUNG1C B HUNG1C ; 1C
001d 001c+
57 001e 7980 HUNG1E B HUNG1E ; 1E
001f 001e+
58 0020 7980 HUNG20 B HUNG20 ; 20
0021 0020+
59 0022 7980 TRAP B TRAP ; 22
0023 0022+
60 0024 7980 NMI B _phantom ; 24
0025 0087'
61 .if ( 1 ) ; macro occupies eight words in the vector table.
62 0026 MON_ETRAP mon_etrap_vecs ; 26
1 ; Begin the vector 0x0026 - 0x002D code.
1 ;
1 0026 8e00! SST #0, MON_TEMP_ST0 ; Save ST0
1 0027 8f00! SST #1, MON_TEMP_ST1 ; Save ST1
1 0028 bc00! LDP #MON_PGE0_DP ; Set DP to PAGE0.
TMS320C24xx COFF Assembler Version 7.02 Mon Apr 28 14:36:15 2003
Copyright (c) 1987-2002 Texas Instruments Incorporated
../temp/vhz.asm PAGE 3
1 0029 8a00! POPD MON_TEMP_PC ; Save the PC.
1 ; Note we cannot save it directly
1 ; to MON_PC if MON_RGST_ZRO as this
1 ; macro is used inside the monitor.
1 ;
1 002a 7600! PSHD MON_TRAP_VEC ; Load the emulation trap vector.
1 002b ef00 RET ; Go to the variable entry point
1 ; for emulation traps, whose
1 ; default value is MON_TRAP_ENTRY.
1 ;
1 002c 0000! MON_ROOT .word MON_RELEASE ; Release number of the monitor.
1 002d 0000! .word MON_POINTER ; Pointer to monitor constants.
1 ;
1 ; End the vector 0x0026 - 0x002D code.
63 ; 28
64 ; 2A
65 ; 2C
66 .else ; macro not in vector table.
67 MON_ETRAP_B B MON_ETRAP ; 26
68 HUNG28 B _phantom ; 28
69 HUNG2A B _phantom ; 2A
70 HUNG2C B _phantom ; 2C
71 .endif
72 002e 7980 HUNG2E B _phantom ; 2E
002f 0087'
73 0030 7980 HUNG30 B _phantom ; 30
0031 0087'
74 0032 7980 HUNG32 B _phantom ; 32
0033 0087'
75 0034 7980 HUNG34 B _phantom ; 34
0035 0087'
76 0036 7980 HUNG36 B _phantom ; 36
0037 0087'
77 0038 7980 HUNG38 B _phantom ; 38
0039 0087'
78 003a 7980 HUNG3A B _phantom ; 3A
003b 0087'
79 003c 7980 HUNG3C B _phantom ; 3C
003d 0087'
80 003e 7980 HUNG3E B _phantom ; 3E
003f 0087'
81 .file "../../../../lib/drvlib/clib/include\evmdac.h"
82
83 .stag .fake0,96
84 .member _qptr0,0,20,8,16
85 .member _qptr1,16,20,8,16
86 .member _qptr2,32,20,8,16
87 .member _qptr3,48,20,8,16
88 .member _scale,64,4,8,16
89 .member _update,80,148,8,16
90 .eos
91 .sym _EVMDAC,0,8,13,96,.fake0
92 .globl _F24X_EVM_DAC_Update
93 .file "../../../../lib/drvlib/clib/include\F2407PWM.H"
TMS320C24xx COFF Assembler Version 7.02 Mon Apr 28 14:36:15 2003
Copyright (c) 1987-2002 Texas Instruments Incorporated
../temp/vhz.asm PAGE 4
94
95 .stag .fake1,112
96 .member _period_max,0,4,8,16
97 .member _mfunc_p,16,4,8,16
98 .member _mfunc_c1,32,4,8,16
99 .member _mfunc_c2,48,4,8,16
100 .member _mfunc_c3,64,4,8,16
101 .member _init,80,148,8,16
102 .member _update,96,148,8,16
103 .eos
104 .sym _PWMGEN,0,8,13,112,.fake1
105 .sym _PWMGEN_handle,0,24,13,16,.fake1
106 .globl _F2407_EV1_PWM_Init
107 .globl _F2407_EV1_PWM_Update
108 .globl _F2407_EV2_PWM_Init
109 .globl _F2407_EV2_PWM_Update
110 .file "../../../../lib/drvlib/clib/include\F2407CAP.H"
111
112 .stag .fake2,48
113 .member _time_stamp,0,4,8,16
114 .member _init,16,148,8,16
115 .member _read,32,148,8,16
116 .eos
117 .sym _CAPTURE,0,8,13,48,.fake2
118 .sym _CAPTURE_handle,0,24,13,16,.fake2
119 .globl _F2407_EV1_CAP_Init
120 .globl _F2407_EV1_CAP1_Read
121 .file "../../../../lib/drvlib/clib/include\F24X_WD.H"
122
123 .stag .fake3,32
124 .member _disable,0,148,8,16
125 .member _reset,16,148,8,16
126 .eos
127 .sym _WATCHDOG,0,8,13,32,.fake3
128 .sym _WATCHDOG_handle,0,24,13,16,.fake3
129 .globl _F24x_WD_ResetCounter
130 .globl _F24x_WD_Disable
131 .file "../../../../lib/dmclib/clib/include\speed_pr.h"
132
133 .stag .fake4,144
134 .member _time_stamp_new,0,4,8,16
135 .member _time_stamp_old,16,4,8,16
136 .member _time_stamp,32,4,8,16
137 .member _shift,48,4,8,16
138 .member _speed_scaler,64,4,8,16
139 .member _speed_prd,80,4,8,16
140 .member _rpm_max,96,4,8,16
141 .member _speed_rpm,112,4,8,16
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -