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

📄 cc1020rx.lst

📁 做高频通讯的看好了
💻 LST
📖 第 1 页 / 共 5 页
字号:
Warning[207]: Found label after column 1. (cc1020_powerdown)
MPASM 03.20.02 Released      CC1020RX.ASM   10-15-2003  11:19:14         PAGE  5


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE

  00000020            00154    cc1020_powerdown   equ    20h
Warning[207]: Found label after column 1. (cc1020_test1)
  00000021            00155    cc1020_test1       equ    21h
Warning[207]: Found label after column 1. (cc1020_test2)
  00000022            00156    cc1020_test2       equ    22h
Warning[207]: Found label after column 1. (cc1020_test3)
  00000023            00157    cc1020_test3       equ    23h
Warning[207]: Found label after column 1. (cc1020_test4)
  00000024            00158    cc1020_test4       equ    24h
Warning[207]: Found label after column 1. (cc1020_test5)
  00000025            00159    cc1020_test5       equ    25h
Warning[207]: Found label after column 1. (cc1020_test6)
  00000026            00160    cc1020_test6       equ    26h
Warning[207]: Found label after column 1. (cc1020_test7)
  00000027            00161    cc1020_test7       equ    27h
Warning[207]: Found label after column 1. (cc1020_status)
  00000040            00162    cc1020_status      equ    40h
Warning[207]: Found label after column 1. (cc1020_reset_done)
  00000041            00163    cc1020_reset_done  equ    41h
Warning[207]: Found label after column 1. (cc1020_rssi)
  00000042            00164    cc1020_rssi        equ    42h
Warning[207]: Found label after column 1. (cc1020_afc)
  00000043            00165    cc1020_afc         equ    43h
Warning[207]: Found label after column 1. (cc1020_gauss_fil)
  00000044            00166    cc1020_gauss_fil   equ    44h
Warning[207]: Found label after column 1. (cc1020_status1)
  00000045            00167    cc1020_status1     equ    45h
Warning[207]: Found label after column 1. (cc1020_status2)
  00000046            00168    cc1020_status2     equ    46h
Warning[207]: Found label after column 1. (cc1020_status3)
  00000047            00169    cc1020_status3     equ    47h
Warning[207]: Found label after column 1. (cc1020_status4)
  00000048            00170    cc1020_status4     equ    48h
Warning[207]: Found label after column 1. (cc1020_status5)
  00000049            00171    cc1020_status5     equ    49h
Warning[207]: Found label after column 1. (cc1020_status6)
  0000004A            00172    cc1020_status6     equ    4ah
Warning[207]: Found label after column 1. (cc1020_status7)
  0000004B            00173    cc1020_status7     equ    4bh         
                      00174 ;====================================
                      00175 ; the status register 
                      00176 
                      00177 ;bit 7: gpwuf: gpio reset bit
                      00178 ;       1 = reset due to wake-up from sleep on pin change
                      00179 ;       0 = after power up or other reset
                      00180 ;bit 6: unimplemented
                      00181 ;bit 5: pa0: program page preselect bits
                      00182 ;       1 = page 1 (200h - 3ffh) - pic12c509, pic12c509a, pic12cr509a and pic12ce519
                      00183 ;       0 = page 0 (000h - 1ffh) - pic12c5xx
                      00184 ;       each page is 512 bytes.
                      00185 ;       using the pa0 bit as a general purpose read/write bit in devices which do not
                      00186 ;       use it for program
                      00187 ;       page preselect is not recommended since this may affect upward compatibility 
MPASM 03.20.02 Released      CC1020RX.ASM   10-15-2003  11:19:14         PAGE  6


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE

                      00188 ;       with future products.
                      00189 ;bit 4: to: time-out bit
                      00190 ;       1 = after power-up, clrwdt instruction, or sleep instruction
                      00191 ;       0 = a wdt time-out occurred
                      00192 ;bit 3: pd: power-down bit
                      00193 ;       1 = after power-up or by the clrwdt instruction
                      00194 ;       0 = by execution of the sleep instruction
                      00195 ;bit 2: z: zero bit
                      00196 ;       1 = the result of an arithmetic or logic operation is zero
                      00197 ;       0 = the result of an arithmetic or logic operation is not zero
                      00198 ;bit 1: dc: digit carry/borrow bit (for addwf and subwf instructions)
                      00199 ;       addwf
                      00200 ;       1 = a carry from the 4th low order bit of the result occurred
                      00201 ;       0 = a carry from the 4th low order bit of the result did not occur
                      00202 ;       subwf
                      00203 ;       1 = a borrow from the 4th low order bit of the result did not occur
                      00204 ;       0 = a borrow from the 4th low order bit of the result occurred
                      00205 ;bit 0: c: carry/borrow bit (for addwf, subwf and rrf, rlf instructions)
                      00206 ;==================================================================================
                      00207 ;==================================================================================
                      00208 ;the code init. option set.
                      00209 
                      00210 ;bit 7: gpwu: enable wake-up on pin change (gp0, gp1, gp3)
                      00211 ;       1 = disabled
                      00212 ;       0 = enabled
                      00213 ;bit 6: gppu: enable weak pull-ups (gp0, gp1, gp3)
                      00214 ;       1 = disabled
                      00215 ;       0 = enabled
                      00216 ;bit 5: t0cs: timer0 clock source select bit
                      00217 ;       1 = transition on t0cki pin
                      00218 ;       0 = transition on internal instruction cycle clock, fosc/4
                      00219 ;bit 4: t0se: timer0 source edge select bit
                      00220 ;       1 = increment on high to low transition on the t0cki pin
                      00221 ;       0 = increment on low to high transition on the t0cki pin
                      00222 ;bit 3: psa: prescaler assignment bit
                      00223 ;       1 = prescaler assigned to the wdt
                      00224 ;       0 = prescaler assigned to timer0
                      00225 ;bit 2-0: ps2:ps0: prescaler rate select bits
                      00226 ;    bit value timer0 rate   wdt rate
                      00227 ;       000 1 :   2             1 : 1
                      00228 ;       001 1 :   4             1 : 2
                      00229 ;       010 1 :   8             1 : 4
                      00230 ;       011 1 :   16            1 : 8
                      00231 ;       100 1 :   32            1 : 16
                      00232 ;       101 1 :   64            1 : 32
                      00233 ;       110 1 :   128           1 : 64
                      00234 ;       111 1 :   256           1 : 128
                      00235 ;=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
                      00236                                                    
                      00237 ;************************************    
0000                  00238         org             000h
0000   0025           00239         movwf           osccal
0001   0A10           00240         goto            main
MPASM 03.20.02 Released      CC1020RX.ASM   10-15-2003  11:19:14         PAGE  7


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE

                      00241 ;*********************************************************************
                      00242 ;**** the nop is uniform to address 010h of rom
0002   0000           00243         nop
0003   0000           00244         nop
0004   0000           00245         nop
0005   0000           00246         nop
0006                  00247 get_id
0006   021B           00248         movfw           id_cont         ; id number to w
Message[305]: Using default destination of 1 (file).
0007   01E2           00249         addwf           pcl               ; add w to pc
0008   0812           00250         retlw           012h                    ; the id number can alter at program mcu
0009   08AA           00251         retlw           0aah
000A   08AA           00252         retlw           0aah
                      00253 ;========================================================================
0010                  00254         org             010h
0010                  00255 main
0010   0064           00256          clrf           fsr                     ; select blank 0
0011   05A3           00257      block2 
Message[306]: Crossing page boundary -- ensure page bits are set.
0012   0A10           00258      goto               _main      
                      00259 ;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
                      00260 ;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%                                 
                                                                                                                            
                      00261 ;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
                      00262       
                      00263 ;turn off pa to minimise current draw               
                      00264 ;*************************************
                      00265 ;reset cc1020 
0013                  00266 resetcc1020:     
0013   0C00           00267      movlw   cc1020_main
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
0014   0035           00268      movwf   addr_data
0015   0C0E           00269      movlw   0eh
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
0016   0034           00270      movwf   config_data
0017   0956           00271      call    configure_write
                      00272 ;bring cc1020 out of reset
0018   0C00           00273      movlw   cc1020_main
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
0019   0035           00274      movwf   addr_data
001A   0C0F           00275      movlw   0fh
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
001B   0034           00276      movwf   config_data
001C   0956           00277      call    configure_write 
001D   0000           00278      nop    
001E   0800           00279      retlw   0
                      00280 ;******************************************     
001F                  00281 setupcc1020all:
001F   0C26           00282      movlw   26h
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
0020   0033           00283      movwf   count_r3
0021   0C01           00284      movlw   1
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
MPASM 03.20.02 Released      CC1020RX.ASM   10-15-2003  11:19:14         PAGE  8


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE

0022   0038           00285      movwf   addr_count
                      00286 ;-----------------------------------------     
0023                  00287 continue_configure:
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
0023   0218           00288      movf    addr_count,0
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
0024   0035           00289      movwf   addr_data
0025   092D           00290      call    tabel
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
0026   0034           00291      movwf   config_data
0027   0956           00292      call    configure_write
Message[305]: Using default destination of 1 (file).
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
0028   02B8           00293      incf    addr_count
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
0029   02F3           00294      decfsz  count_r3,1
002A   0A23           00295      goto    continue_configure
002B   0000           00296      nop
002C   0800           00297      retlw   0 
                      00298 ;*****************************************
002D                  00299 tabel 
Message[305]: Using default destination of 1 (file).
002D   01E2           00300      addwf    pcl
002E   0801           00301      retlw    01h  ;cc1020 main
002F   084F           00302      retlw    4fh   ;cc1020 interface
0030   08FF           00303      retlw    0ffh  ;cc1020 reset
0031   088F           00304      retlw    8fh   ;cc1020 sequencing
0032   0838           00305      retlw    38h   ;cc1020 freq_2a
0033   08FF           00306      retlw    0ffh   ;cc1020 freq_1a
0034   089B           00307      retlw    9bh   ;cc1020 freq_0a
0035   083B           00308      retlw    3bh   ;cc1020 clock_a
0036   0838           00309      retlw    38h   ;cc1020 freq_2b
0037   08FF           00310      retlw    0ffh   ;cc1020 freq_1b
0038   089B           00311      retlw    9bh   ;cc1020 freq_0b 
0039   083B           00312      retlw    3bh   ;cc1020 clock_b
003A   0844           00313      retlw    44h   ;cc1020 vco
003B   0852           00314      retlw    52h   ;cc1020 modem
003C   088B           00315      retlw    8bh   ;cc1020 deviation
003D   08CC           00316      retlw    0cch  ;cc1020 afc_control
003E   082F           00317      retlw    2fh  ;cc1020 filter
003F   0865           00318      retlw    65h   ;cc1020 vga1
0040   0857           00319      retlw    57h   ;cc1020 vga2
0041   082F           00320      retlw    2fh   ;cc1020 vga3
0042   082D           00321      retlw    2dh   ;cc1020 vga4
0043   0820           00322      retlw    20h   ;cc1020 lock
0044   0878           00323      retlw    78h   ;cc1020 frontend
0045   0846           00324      retlw    46h   ;cc1020 analog
0046   0854           00325      retlw    54h   ;cc1020 buff_swing
0047   0822           00326      retlw    22h   ;cc1020 buff_current
0048   08AE           00327      retlw    0aeh  ;cc1020 pll_bw
0049   0835           00328      retlw    35h   ;cc1020 calbrate

⌨️ 快捷键说明

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