PIC16F74 单片机的这段程序是什么意思
START:
CALL PIC_INIT
CALL LED_FLASH
BSF INTCON,GIE
MAIN_LOOP:
MOVF COUNTER,W
BCF STATUS,Z
XORLW .3
BTFSC STATUS,Z
CALL DAC_OUT ;COUNTER=3
GOTO MAIN_LOOP
;*********************************PIC_INIT()********************************
PIC_INIT:
;Bank 1
BSF STATUS,RP0
CLRF INTCON
MOVLW B'00000111'
MOVWF ADCON1
BSF INTCON,PEIE
MOVLW B'10000000'
MOVWF TRISC
MOVLW .10 ;.32--9600bit/s, 20M clock .25--2400bit/s, 4M clock; 64--19200bit/s 20M; .10--115200bit/s 20M clock
MOVWF SPBRG
CLRF PIE1
BSF PIE1,RCIE
;BSF PIE1,TXIE
;MOVLW B'00000000' ; 异步SYNC=0,BRFH=0
MOVLW B'00000100' ; 异步SYNC=0,BRFH=1
MOVWF TXSTA
; BSF TXSTA,2 ;select high speed bort only use for SPBRG=64 at 20M ,19200bit/s
CLRF TRISA
CLRF TRISB