Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #INCLUDE "P16F84A.INC"
- __CONFIG _XT_OSC & _WDT_OFF & _PWRTE_ON & _CP_OFF
- ERRORLEVEL -302
- ORG 0x00
- GOTO START
- ORG 0x04
- GOTO START
- START
- BSF STATUS, RP0
- MOVLW 0x00
- MOVWF TRISB
- BCF STATUS, RP0
- MOVLW B'01011010'
- MOVWF PORTB
- END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement