Siemens Interview Question

Explain context switching , function chain in assembly level.