> > If you have RMW problems there is only one real cure: use a shadow > > register. > > FWIW, the OP says he is using the 18F4520. Shouldn't have RMW > problems at > all... OOps, that is of course the *other* cure: use 18F and use it correctly (LATx). Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist