I'm always confused(actually, no idea) how kernel interacts with hardware. Before that, I wondered how softwares run, how OS works. How things OS interacts with the hardware. Then I get to know that OS talks with the kernel.
Now I don't have the slightest idea that how assembly language or any machine code can instruct hardware to do a certain thing. I mean how can a code can ask for a signal(or electron) to be send(as everything in system works using current/signal) e.g.- ADD A,B. How ADD will tell the registers to add the values in A & B?
Thanks in advance :)