Your machine code is not "converted" into electrical signals at all. It is a set of electrical signals. The fact that you see numbers and letters on your screen is irrelevant, all of that data is simply the processing of very precisely arranged electrical signals under a strict set of rules.
Your machine code is represented by bytes of data, sets of 0's and 1's, in some kind of memory device. In reading a byte from memory, which is simply a set of electrical signals, the processor is set up in specific ways to handle the next batch of electrical signals it will see. This process repeats itself millions of times and you see something on the screen.
The problem that you are having is that you are misreading the results (seeing an image on screen) as the result of some final conversion stage, it is not. What you see is the result of a massive number of electrical state changes within some massively complex devices.
For a visual indication of what is actually happening within a processor I'd recommend having a look at Visual Simulation of a 6502 processor
The closest to "conversion" is when data is written to storage devices such as a HDD where it is stored magnetically on the platter. Even there though it is stored in a way that makes it easier to restore it to an exact electrical replica of the original.
Basically everything you see on your screen is just electrons being moved around quickly, the fact that your brain can "see" patterns and images is down to how we told those electrons to move. The pictures are the product of electrical operations, not a conversion from one to the other.
Are you looking for an example of how a trivial piece of machine code is translated from its stored format to electrical activity in the CPU, and how that produces a result? – fixer1234 – 2015-06-07T07:49:22.330
You need to spend wayyyyyyy more time looking into what CPUs do (internally), how they interpret machine code (the actual instructions) and, as David points out, the make-up of a CPU... Think billions of transistors for a modern computer processor... But also look at basic processors like PIC processors... – Kinnectus – 2015-06-07T07:58:19.027
@fixer1234 Yes that would help. Please post the link if you have any. Thank you. – dev gr – 2015-06-07T11:54:52.707