myke predko wrote: > > [Quoting me:] > > Actually... The following is best: > > > > movlw high ($ + 2) > > movwf PCLATH > > Out of curiosity, why are you adding 2 to the current address (This > would make the value that you are getting PCLATH for is the > instruction *after* "movwf PCLATH")? Myke: I add 2 in order to ensure that PCLATH is accurate for the instruction after the MOVLW/MOVWF combination. It's a very minor point, but it's sorta important if, for instance, the MOVLW is on the last address of a page and there's a lookup table right after the MOVLW/MOVWF combination. -Andy === Andrew Warren - fastfwd@ix.netcom.com === === Fast Forward Engineering - Vista, California === === === === Custodian of the PICLIST Fund -- For more info, see: === === http://www.geocities.com/SiliconValley/2499/fund.html ===