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

📄 cc1020.lst

📁 做高频通讯的看好了
💻 LST
📖 第 1 页 / 共 5 页
字号:
00E1   0C1C           00490      movlw    cc1020_pa_power
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
00E2   0035           00491      movwf    addr_data
00E3   0C00           00492      movlw    00h
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
00E4   0034           00493      movwf    config_data
00E5   099A           00494      call     configure_write
                      00495      
00E6   0C1B           00496      movlw    cc1020_calibrate
MPASM 03.20.02 Released        CC1020.ASM   10-20-2003  9:36:11         PAGE 13


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE

Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
00E7   0035           00497      movwf    addr_data
00E8   0CD1           00498      movlw    0d1h
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
00E9   0034           00499      movwf    config_data
00EA   099A           00500      call     configure_write
                      00501  
                      00502 ;delaya_again:
                      00503 ;     movlw    cc1020_status
                      00504 ;     movwf    addr_data
                      00505 ;     call     configure_read
                      00506 ;     btfss    read_data,7
00EB   0CF0           00507      movlw    0f0h
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
00EC   003C           00508      movwf    delay_count1
00ED   0CF0           00509      movlw    0f0h
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
00EE   003D           00510      movwf    delay_count2
                      00511 
Message[305]: Using default destination of 1 (file).
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
00EF   02FD           00512      decfsz   delay_count2
00F0   0AEF           00513      goto     $-1
Message[305]: Using default destination of 1 (file).
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
00F1   02FC           00514      decfsz   delay_count1
00F2   0AED           00515      goto     $-5
                      00516 
00F3   0C1C           00517      movlw    cc1020_pa_power
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
00F4   0035           00518      movwf    addr_data
00F5   0C0E           00519      movlw    0eh
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
00F6   0034           00520      movwf    config_data
00F7   099A           00521      call     configure_write
00F8   0800           00522      retlw    0
                      00523                    
                      00524 ;***********************************
                      00525 ;read the cc1020rfic configuration register data subroutine
00F9                  00526 configure_read: 
00F9   0C00           00527      movlw    0
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
00FA   0037           00528      movwf    read_data    
00FB   0CF8           00529      movlw    b'11111000'
00FC   0007           00530      tris     portc
                      00531 ;address
00FD   0C07           00532      movlw    7h
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
00FE   0036           00533      movwf    count_data
00FF   0547           00534      bsf      portc,psel
0100   0427           00535      bcf      portc,pclk
0101   0000           00536      nop
0102   0000           00537      nop
MPASM 03.20.02 Released        CC1020.ASM   10-20-2003  9:36:11         PAGE 14


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE

0103   0447           00538      bcf      portc,psel
0104                  00539 do_read_address:                    
0104   0427           00540      bcf      portc,pclk
0105   0000           00541      nop
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
0106   06D5           00542      btfsc    addr_data,6h
0107   0B0A           00543      goto     read_pdi_addr
0108   0407           00544      bcf      portc,pdi
0109   0B0B           00545      goto     read_pclock_addr
010A                  00546 read_pdi_addr:
010A   0507           00547      bsf      portc,pdi
010B                  00548 read_pclock_addr:
                      00549     
010B   0527           00550      bsf      portc,pclk
010C   0000           00551      nop
Message[305]: Using default destination of 1 (file).
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
010D   0375           00552      rlf      addr_data
Message[305]: Using default destination of 1 (file).
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
010E   02F6           00553      decfsz   count_data
010F   0B04           00554      goto     do_read_address                    
                      00555 ;read 
0110   0427           00556      bcf      portc,pclk
0111   0000           00557      nop
0112   0407           00558      bcf      portc,pdi
0113   0527           00559      bsf      portc,pclk
0114   0000           00560      nop
0115   0507           00561      bsf      portc,pdi
                      00562 ;data     
0116   0C08           00563      movlw    8h
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
0117   0036           00564      movwf    count_data
0118                  00565 do_read_data:     
0118   0427           00566      bcf      portc,pclk
0119   0000           00567      nop
011A   0527           00568      bsf      portc,pclk
011B   0000           00569      nop
011C   0767           00570      btfss    portc,pdo
011D   0B20           00571      goto     clr_read_pdo
011E   0503           00572      bsf      status,0
011F   0B21           00573      goto     do_shift
0120                  00574 clr_read_pdo:
0120   0403           00575      bcf      status,0
0121                  00576 do_shift:          
Message[305]: Using default destination of 1 (file).
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
0121   0377           00577      rlf      read_data
Message[305]: Using default destination of 1 (file).
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
0122   02F6           00578      decfsz   count_data
0123   0B18           00579      goto     do_read_data      
0124   0427           00580      bcf      portc,pclk
MPASM 03.20.02 Released        CC1020.ASM   10-20-2003  9:36:11         PAGE 15


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE

0125   0000           00581      nop
0126   0547           00582      bsf      portc,psel
0127   0800           00583      retlw    0
                      00584 ;***********************************
0128                  00585 setupcc1020pd:
0128   0C00           00586      movlw   cc1020_main
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
0129   0035           00587      movwf   addr_data
012A   0C1F           00588      movlw   1fh
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
012B   0034           00589      movwf   config_data
012C   099A           00590      call    configure_write
                      00591 ;setup cc1020 to power down mode
012D   0C1C           00592      movlw   cc1020_pa_power
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
012E   0035           00593      movwf   addr_data
012F   0C00           00594      movlw   00
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
0130   0034           00595      movwf   config_data
0131   099A           00596      call    configure_write
0132   0000           00597      nop
0133   0800           00598      retlw   0   
                      00599 
                      00600      
                      00601 ;===================================
                      00602 
0210                  00603      org    0210h
                      00604      
0210                  00605 _main:
                      00606      
0210   04A3           00607     block1  
0211   0C06           00608     movlw   cc1020_freq_0a;
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
0212   0035           00609         movwf   addr_data
Message[306]: Crossing page boundary -- ensure page bits are set.
0213   09F9           00610         call    configure_read
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
0214   0217           00611         movf    read_data,w
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
0215   003E           00612         movwf   save_freq0a_buf
                      00613         
                      00614         
Message[306]: Crossing page boundary -- ensure page bits are set.
0216   0952           00615     call    resetcc1020 
                      00616     
0217   0C06           00617         movlw   cc1020_freq_0a
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
0218   0035           00618         movwf   addr_data
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
0219   021E           00619         movf    save_freq0a_buf,w
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
021A   0034           00620         movwf   config_data
Message[306]: Crossing page boundary -- ensure page bits are set.
MPASM 03.20.02 Released        CC1020.ASM   10-20-2003  9:36:11         PAGE 16


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE

021B   099A           00621         call    configure_write
Message[306]: Crossing page boundary -- ensure page bits are set.
021C   095E           00622     call    setupcc1020all
Message[306]: Crossing page boundary -- ensure page bits are set.
021D   09C5           00623     call    single_calibration
021E   0000           00624     nop
                      00625     
Message[306]: Crossing page boundary -- ensure page bits are set.
021F   0906           00626         call    get_id
0220   003A           00627         movwf   id_code
                      00628 ;do_read:       
                      00629         
0221   0C06           00630         movlw   cc1020_freq_0a;
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
0222   0035           00631         movwf   addr_data
Message[306]: Crossing page boundary -- ensure page bits are set.
0223   09F9           00632         call    configure_read
0224   0000           00633         nop
                      00634         ;goto    do_read 
0225   05A3           00635         block2
0226   0C1F           00636         movlw    b'00011111'
0227   0007           00637         tris     portc
                      00638    
0228                  00639 loop:   
0228   0000           00640         nop
0229   0000           00641         nop
022A   0000           00642         nop
022B   0000           00643         nop
022C                  00644 key_wake
022C   0C00           00645         movlw           00h                      
022D   0021           00646         movwf           tmr0                     ; load 00h into tmr000
022E   0C8F           00647         movlw           b'10001111'
022F   0002           00648         option
                      00649 ;-----------    
0230   0206           00650         movf            portb,w                  ; read key value B'00010011'
0231   0E13           00651         andlw           b'00010011'      ;pb.0 ,pb.1, pb.4
0232   002C           00652         movwf           temp_buf
0233   0F13           00653         xorlw           b'00010011'              ; key join pin 3,1,0
0234   0643           00654         skpnz                                            ; have change skip next
0235   0A28           00655         goto            loop                     ; restart enter sleep
                      00656 ;**** reconfirm key press down

⌨️ 快捷键说明

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