??? 08/07/05 20:18 Read: times |
#98962 - Will it work? Responding to: ???'s previous message |
If you call the save context subroutine, the first thing that happens is that the return address gets pushed on the stack. Then the subroutine runs and pushes further things on the stack. When the subroutine returns it uses whatever was pushed onto the stack last as the return address which in this case will be wrong.
Or have I missed something? Ian |