⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fir.lst

📁 在dsp33上用c语言实现的fir滤波(10khz)
💻 LST
字号:
TMS320C3x/4x COFF AssemblerVersion 5.11     Sat Jan 14 18:42:35 2006
Copyright (c) 1987-1999 Texas Instruments IncorporatedC:\tic3x4x\c3x4x\cgtools\bin\asm30.exe fir.ASM fir.obj -lqsx -v30 -mrb -gs 

fir.ASM                                                              PAGE    1

        1                                   .global START
        2                   ;;;;;;;                .include "h.inc"
        3                                   .include "h10k.inc"
        4                   ;;;;;;;                .include "h10870hz.inc"
        5                                   .include "x.inc"  
        6                   
        7                                   .include "vectors.asm" 
        8                                   
        9 00000000                          .bss  newdata,1
       10 00000001                          .bss  lastdata,1
       11 00000002                          .bss  receive,1
       12 00000003                          .bss  sign,1
       13 00000004                          .bss  fix,1 
       14 00000005                          .bss  float_u,1     ;32767的浮点数
       15                                   
       16                                   
       17 00000000                          .data
       18                   ***************Serial Port 0  Register*****************
       19                   
       20          00808040 spgctrl .set 808040h ; Serial Port 0 global control register
       21          00808042 xpctrl  .set 808042h ; FSX/DX/CLKX port control register
       22          00808043 rpctrl  .set 808043h ; FSR/DR/CLKR port control register
       23          00808044 rxtctrl .set 808044h ; r/x timer control register
       24          00808045 rxtcnt  .set 808045h ; r/x timer counter register
       25          00808046 rxtprd  .set 808046h ; r/x period register
       26          00808048 xdata   .set 808048h ; Data transmit register
       27          0080804c rdata   .set 80804Ch ; Data receive register
       28          000001cf t0_GO   .set 001cfh ; Timer configuration to GO
       29                     
       30 00000000 00000000 reset         .word   0h
       31 00000001 0e280044 sp0_gcfg        .word 0E280044H; Serial Port 0 global control register initialization
       32 00000002 0000000f s0_rxtctrl      .word 0Fh      ; Serial Port 0 R/X TIMER CONTROL INITIALIZATION
       33 00000003 00000013 s0_rxtprd       .word 00000013h ; Serial Port 0 R/X TIMER PERIOD INITIALIZATION(12.5MHz CLKX)
       34                   ;s0_rxtcnt   .word 00000000h ; Serial Port 0 R/X TIMER COUNTER INITIALIZATION
       35 00000004 00000111 s0_xctrl        .word 0111h     ; SERIAL-PORT TRASMIT PORT CONTROL REG INITIALIZATION
       36 00000005 00000111 s0_rctrl        .word 0111h     ; SERIAL-PORT RECEIVE PORT CONTROL REG INITIALIZATION 
       37 00000006 00000191 N             .word   401
       38 00000007 00000190+x_addr        .word   x1+400
       39 00000008 00000190+h_addr        .word   hn+400
       40                   ;out_addr      .word   805000h 
       41                   ;in_addr       .word   803000h  
       42 00000009 00001800 STATE           .word 1800h
       43 0000000a 00000800 VOL2048     .word 0800h
       44 0000000b 00d00200 xfirst      .word 00d00200h        ; D/A第一个要发的数
       45 0000000c 00008000 fuck        .word 00008000h        ;.word 定义的是定点数 32768 ,ce shi yong
       46 0000000d 00007fff u           .word 00007fffh        ;.word 定义的是定点数 32767 ,给D/A FIX前加的数
       47 0000000e 00400000 DA_CTRL1    .word 00400000h        ; 送往D/A之前,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -