??? 08/12/05 16:10 Modified: 08/12/05 16:13 Read: times |
#99284 - Another SAVE_CONTEXT Responding to: ???'s previous message |
Oleg said:
Well, now imagine what happenes if you try next: :A_SUBROUTINE1: CALL SAVE_CONTEXT ; some doing CALL A_SUBROUTINE2 ; some doing CALL RESTORE_CONTEXT RET ; A_SUBROUTINE2: CALL SAVE_CONTEXT ; some doing CALL RESTORE_CONTEXT RET I think you catch the limitation of your method, do you? Hello Dear Oleg Why you don't use SAVE_CONTEXT1 instead of SAVE_CONTEXT for A_SUBROUTINE2 In many case i prefer to use multiple routines instead of increasing stack, Regards Mehdi |