Matt Marsh wrote: > Also, some of the techniques that this book teaches are a little > dubious in places. For example, when saving the state of the STATUS > register on an interrupt, it just uses movf instructions instead of > swapf. That's perfectly ok. If the interrupt-service routine ends in the usual way (by restoring STATUS and then restoring W), then SWAPF is only required when restoring W. -Andy === Andrew Warren -- aiw@cypress.com === Principal Design Engineer === Cypress Semiconductor Corporation === === Opinions expressed above do not === necessarily represent those of === Cypress Semiconductor Corporation -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics