我用的是16C73B的片子,2bank,2页程序,我不明白的地方已经在下面标出(这是一个产品中的程序) CLRWDT BCF PCLATH, 3 BCF STATUS, RP0 BSF STATUS, RP0 MOVLW 06H MOVWF ADCON0; ADCON0不是在0bank吗,可是现在RP0等于1啊 BCF STATUS, RP0 CLRF PORTA BSF STATUS, RP0 MOVLW 0F2H MOVWF PORTA BCF STATUS, RP0; 怎么送2次PORTA,它不是只在RP0吗,下面的B,C口一样不明白 MOVLW 0FAH MOVWF PORTB BSF STATUS, RP0 MOVLW 0F9H MOVWF PORTB BCF STATUS, RP0 MOVLW 0FBH MOVWF PORTC BSF STATUS, RP0 MOVLW 00H MOVWF PORTC BSF STATUS, RP0 MOVLW 48H MOVWF TMR0 BCF STATUS, RP0 MOVLW 00H MOVWF INTCON BCF STATUS, RP0 CLRF 20H MOVLW 0BH MOVWF 24H MOVLW 0F8H MOVWF 21H CLRF 22H CLRWDT CALL L0026H CLRWDT CALL L0029H CLRWDT CALL L002CH MOVF 28H, 0 BTFSS STATUS, Z GOTO L05C9H |