Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- list p=PIC18f8722
- #include p18f8722.inc
- ; Begin
- code 0
- goto initialize
- ; Start
- PRG code
- initialize
- clrf TBLPTRL
- main
- movlw H'01'
- movwf TBLPTRH
- TBLRD*
- movlw H'03'
- movwf TBLPTRH
- TBLWT*+
- movlw H'80'
- cpfsgt TBLPTRL
- bra main
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement