On Thu, 2004-12-09 at 15:13 -0500, Olin Lathrop wrote: > Mauricio Jancic wrote: > > What about ADDWF PCL, F ?? > > It takes only 1 cicle, the datasheet says... > > The data sheet probably says that ADDWF only takes one cycle, usually. I'm > sure it also mentions that modifications of PC causes an extra cycle due to > the instruction pipeline being flushed. It does, but adding "zero" to something isn't a modification, which is the point I'm trying to make. I personally believe the wording should be changed to any WRITE to the PC will cause two cycles, since you don't need to mod it to cause two cycles to be needed. If one remembers WHY two cycles are needed it makes perfect sense, but to someone relying only on exactly what the datasheet says (yes, I know, something very dangerous! :) ) then I'd say the datasheet is wrong. TTYL ----------------------------- Herbert's PIC Stuff: http://repatch.dyndns.org:8383/pic_stuff/ _______________________________________________ http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist