I just wrote: > To make your program work, change it as follows: > > WREG EQU 0x0A ;Register 0x0A is the W-Register. > > LOOP MOVPF PORTC,WREG > MOVWF PORTD > GOTO LOOP A couple more things... 1. You can do the same thing with one fewer instruction: LOOP MOVPF PORTC,PORTD GOTO LOOP 2. Since PORTC and PORTD are in Register Bank 1, you need to execute a "MOVLB 1" before entering the loop. -Andy === Andrew Warren - fastfwd@ix.netcom.com === Fast Forward Engineering - Vista, California === http://www.geocities.com/SiliconValley/2499