Hi all

I was wondering today in my computer organisation lecture in college that how is that the computer when given to restart from any os on a multi-os system executes the last instruction of restart after the fact that it once actually gets shut down.

How it gets the instruction to restart once all processes end?

The RAM, cache and registers get flushed once pc shuts down. Then how the computer is able to restart.

Can anyone help me out here.............

Thanx.