> Tony, That is really interesting code. Correct me if I'm wrong but the ISR > can't see what the PC was before the interrupt can it? Can you read the > stack? Scenix has a shadow register that stores the w, PC and something on a > int IIRC. Reduces interrupt latency? Does the '877 have such a thing? > Undocumented? I doubt that the code can do anything useful except load and read RAM registers inside the ISR. As far as I know the F series do not have auto context save and stack manipulation, although 'I think' the 18C series do??? -- Best regards Tony http://www.picnpoke.com mailto:sales@picnpoke.com