I have a program where during a sub I check for a number of error conditions. If I find an error I want to exit the sub and JMP to an error handling routine instead of RTS and simply continuing on. Is RSP then JMP to whatever okay? The error handler would look after stuff I had set up manually, but besides the stack pointer being reset, are there other things I should be aware of? Written in assembly. I wouldn’t call myself a programmer.