Quote:
Originally Posted by
f.ben.isaac
>>You can write a binary executable directly in hex,
And HEX, so what translates these hexes to binaries for the compiler?
If a agree with you, writing in binary 1 & 0 will make machine understand what do you want to do! There has to be convertion between hexes to binaries and since hex is not binaries, what does the conversion! Machine does not giva a damn to anything else except if there is another binary written as a translator who translates hexes back to binary. Any idea?
I'm very new to this, i ask in a very dummy questions to know the basics - only overview, no technical stuff....
THANKS
That's the job of the assembler. It converts hex strings to machine code in the instruction set of the mpu and ofcourse the separation of data and instructions.