Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- list p=16f877a
- #include <p16f877a.inc>
- org 0x00
- Start:
- bsf PCLATH,1 ;Fix
- bsf PCLATH,2 ;Fix
- pagesel Table
- movlw 0x04
- call Table
- bcf PCLATH,1
- bcf PCLATH,2
- pagesel Start
- nop
- org 0x1600
- Table:
- addwf PCL,f
- retlw 0x3C
- retlw 0xC3
- retlw 0x00
- retlw 0xFF
- retlw 0xAA
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement