Question: what is context switching in assembly?
Answer: Context switching is the method an operating system employs to implement “multitasking”. It's the practice of having multiple contexts of execution in your system, often called “processes”, and switching between them really, really quickly to create the illusion that multiple things are happening at the same time.