Hi,
Hope you are using high priority interrupts only. (That is no way of a low priority interrupt interrupted by a high priority). Then this should suffice:
18F series have a single level shadow register stack which saves your w,status and bsr automatically on interrupt.Code:retfie fast
Bookmarks