Hi Sayzer,
Looks like he wants an assembly interrupt to jump out of any running process.
"beacuse our system entering in multiple sub routines so using polling way in main code not visible when our programm entering in another subroutine"
looks like a job for instant interrupts.