Andre Abelian wrote: > I need to know the function of nop in this sourse code. > I know nop means no operation and saves one cycle > but still I do not imagine the purpose of nop in this code. > > port_setup > movlw h'3e' > movwf gpio > nop ; what does nop do in this line? > movlw h'3e' > tris gpio Andre: I'd guess that the NOP was placed there by an overly-cautious programmer who believed that a small delay might ensure the reliability of his port-setup code. It's probably unnecessary. -Andy === Andrew Warren - fastfwd@ix.netcom.com === Fast Forward Engineering - Vista, California === http://www.geocities.com/SiliconValley/2499