Exactly *what* was unclear from page 349 in the XC8 manual !? Your question make be believe that you never bothered to check page 349 (or anything else in the manual, I guess). Good luck. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D Synopsis #include NOP(); Description Execute NOP instruction here. This is often useful to fine tune delays or create a handle for breakpoints. The NOP instruction is sometimes required during some sensitive sequences in hardware. Example #include void crude_delay(unsigned char x) { while(x--){ NOP(); /* Do nothing for 3 cycles */ NOP(); NOP(); } } =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D Jan-Erik. =20 -----Ursprungligt meddelande----- Fr=E5n: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] F=F6r Rich= ard R. Pope Skickat: den 20 oktober 2015 16:49 Till: Microcontroller discussion list - Public. =C4mne: Re: SV: SV: SV: [PIC]: Trying to get a 16F877A to talk to an LCD! Jan-Erik, If I understand this correctly I would use #asm NOP and then NOP; wher= e ever I want them?? Thanks, rich! On 10/20/2015 9:43 AM, Jan-Erik S=F6derholm wrote: > OK, fine... :-) > > So I guess you have found the NOP() function now. > > Just put 3-4 around your commands that manipulates the RAx pins and=20 > you should be safe in that regard at least. > > Jan-Erik. > > -----Ursprungligt meddelande----- > Fr=E5n: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] F=F6r=20 > Richard R. Pope > Skickat: den 20 oktober 2015 16:32 > Till: Microcontroller discussion list - Public. > =C4mne: Re: SV: SV: [PIC]: Trying to get a 16F877A to talk to an LCD! > > Jan-Erik, > I will do that. I have spent many hours trying to figure this=20 > out before I posted this on the PICList. The PICList is always a=20 > resource of last resort. I am very frustrated and lost at this point.=20 > My self esteem is in the garbage can at this point. > Thanks, > rich! > > On 10/20/2015 9:25 AM, Jan-Erik S=F6derholm wrote: >>> Any suggestions? >> Yes, that you **read** your XC8 compiler documentation! >> >> In particular sections 3.4.7.1 and page 349. >> >> It wouldn't hurt either if you tried a little harder. >> =20 >> Jan-Erik. >> >> >> >> > -- > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive=20 > View/change your membership options at=20 > http://mailman.mit.edu/mailman/listinfo/piclist > > -- Richard R. Pope President Reedsburg Area Model Railroad Club, RAMRC 1230 19th Street #5 Reedsburg, WI 53959 608-768-7448 mechanic_2@charter.net -- http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/chang= e your membership options at http://mailman.mit.edu/mailman/listinfo/piclist --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .