Siemens interview question

Explain context switching , function chain in assembly level.