Professional Documents
Culture Documents
Nepe
Nepe
LIST P=16F887
INCLUDE "P16F887.INC"
CBLOCK 0x21
reg1,reg2,reg3
ENDC
ORG 0X00
inicio bsf STATUS,RP0
movlw 0x0F
movwf TRISA
clrf TRISB
bsf STATUS,RP1
movlw 0x0F
movwf ANSEL
bsf STATUS,RP0
bsf STATUS,RP1
end