ron minnich wrote:
Why would this not be possible? Change %sp and return.
if you change sp you really can not return. That's the issue.
disable_car() would actually return to the caller, but the caller may make assumptions about the stack, correct?
Anyway, I think call (that will also never return) from disable_car() is what I like best so far. But I don't think the new function should be a parameter, we should be generic enough to always continue in the same location.
//Peter