Jan-Erik Soderholm wrote: > If one look at the port schematics in the datasheet ("FIGURE 10-1:") > one see that electricaly/electronicaly writing to PORTx or LATx > is exactly the same thing. > > There is only one line going into the CK line of the > output latch marked "WR LAT or Port". > > So the two commands above not only have the same end effect, > they actualy do exactly the same thing in the processor. > > Reading is another matter and there are separate "RD LAT" > and "RD Port" lines in the port schematic. > =20 I overlooked the I/O diagram (Fig 12-1 on page 129) in the data sheet=20 for the PIC16F1934, as it was one small diagram instead of the heap they=20 usually show. David... --=20 ___________________________________________ David Duffy Audio Visual Devices P/L Unit 8, 10 Hook St, Capalaba 4157 Australia Ph: +61 7 38235717 Fax: +61 7 38234717 Our Web Site: www.audiovisualdevices.com.au ___________________________________________ --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .