thanks for that
out of curiosity in your lst file where does the pbp code start at ?
pbp 3.0
starts 000c
Code:00136 ; Oscillator is 64MHz 01228 LIST 000000 01229 ORG RESET_ORG ; Reset vector at 0 01238 LIST 000000 EF78 F000 01239 goto INIT ; Finish initialization 01249 LIST 000008 01250 ORG RESET_ORG + 8 ; High priority interrupt vector at 8 000008 EF7A F000 01251 goto INTHAND ; Goto high priority user interrupt handler 01487 LIST 00000C C00C FFE9 01488 ARRAYWRITE movff R5, FSR0L ; Put the array pointer into FSR0 000010 C00D FFEA 01489 movff R5 + 1, FSR0H 000014 6EEE 01490 movwf POSTINC0 ; Put the char into the array and bump up the address




Bookmarks