[quote user="Nessim Ben Ammar"]no it is not only about the problem, i wanted to know if it is possible, i may use it some day.[/quote]
Unless you are building task switcher, usually you don't need to use direct stack manipulations or through setjmp/longjmp. This is not only dangerous way to do (C) program flow but also indication that you can do better coding :) If you are not sure you know everything about stack, especially what's on stack when ISR's/subroutines execute, then you better think over. Luckily it's your project, not mine :D