Processor serves the interrupt request after completing the execution of the current instruction.
The Processor executes the Current Instruction and then Stores the address of the Next instruction to be Executed in the same function . Then services the Interupt and Come back to the Function where fetches the previously Stored Address and start executing it.
Ex: main() { int a,b,c; //interrupt has occured here //PC is here Sum = a+b;//Address 0x1c00 // Execute the Instruction ////Store 0x1c01 in teh Stack //service the interrupt //restore Pc = 0x1c01 //execution follows Subtract = a-b;//Address 0x1c01 Product = a*b;//Address 0x1c02
When the set header api is used to set the header value of ALLOW header field with the value "454467". Should the SipServer set that value in the next outgoing message?(SIP test case).