eli5: How does a phone/computer process the power button being pressed if it’s off?

584 views

I tried google and all I got was “pressing the power button to turn it off won’t damage it anymore.”

In: Technology

4 Answers

Anonymous 0 Comments

For computers:

When you power the computer, there’s a single hardwired instruction to the CPU that is executed (a JUMP). It tells the CPU to load the first instruction of the BIOS. The BIOS is a chip with ROM memory that has the set of instructions, it first test if the devices are ok, and if everything is ok, it will load the first instructions stored on where it is booting (mainly the HD, but the user can also boot from another device, like a flash drive, or a DVD), those first instructions basically tells the the CPU where everything is stored, and then loads a program called bootloader. The bootloader will then load the kernel, and from there, the kernel will take control of the computer.

You are viewing 1 out of 4 answers, click here to view all answers.