> SWAPF is used as that does not affect any of the STATUS bits, (MOVF would > change Z flag...) Now I see that from instruction description, but the same could be done using ordinary movf, just have to save STATUS first, and W after that, so status change do not affect anything? Am I missing something? OK, it just became clear to me, we would overwrite W while saving STATUS. Fine. > > For realtime clock you can see examples at piclist techref library: > http://www.piclist.com/techref/microchip/time.htm that's the first place I check when need something:) > > Regards, > Tamas > > -- KPL -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist