Advertisement
Looong

Move 80 bytes from 0x100 to 0x300

Mar 13th, 2016
2,968
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MPASM 0.39 KB | None | 0 0
  1.         list    p=PIC18f8722
  2.         #include p18f8722.inc
  3. ; Begin
  4.         code    0
  5.         goto    initialize
  6. ; Start
  7.         PRG code
  8. initialize
  9.         clrf    TBLPTRL
  10. main
  11.         movlw   H'01'
  12.         movwf   TBLPTRH
  13.         TBLRD*
  14.         movlw   H'03'
  15.         movwf   TBLPTRH
  16.         TBLWT*+
  17.         movlw   H'80'
  18.         cpfsgt  TBLPTRL
  19.         bra     main
  20.         end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement