eli5: How does a cpu READ or know that it has to READ 0s and 1s from a storage device ( low level transistor scale)?

213 views

eli5: How does a cpu READ or know that it has to READ 0s and 1s from a storage device ( low level transistor scale)?

In: 0

4 Answers

Anonymous 0 Comments

A CPU doesn’t really read from a storage device and isn’t aware of storage. A CPU does data transfers to and from the data bus, which is connected to random access memory (RAM) and hardware ports.

A device driver (which is basically an application running on the CPU) thinks about where to send data to trigger the right activity on a storage device. So the device driver program makes the storage device read or write data, and put it into a memory buffer.

So the CPU runs programs and shuffles data in and out of the memory space. It’s not directly aware it is reading from a storage device.

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