While troubleshooting some code tonight I realized that maybe you need to disable interrupts while accessing banks 1,2 or 3. I noticed that the standard interrupt template saves off 'w' and 'status' in what it expects to be bank 0. If I'm using bank 1,2 or 3 this is not cool with unexpected results. The whole problem showed up when I started using 'banksel'. Eventually I gave up and crammed everything into bank 0. Maybe it's a bank switching problem or maybe it's an interrupt problem. But it works now that I have given up the other 3 banks. There must be a better way to handle things on the '877. If you have to banksel and disable interrupts for every access above bank 0, there must be a better way :-) Regards, John ============================================= email: jfisher2@austin.rr.com web: http://home.austin.rr.com/jfisher2 callsign: K5JHF =============================================