• anonymous
How can i edit program of an .exe file??
MIT 6.001 Structure and Interpretation of Computer Programs, Spring 2005
  • Stacey Warren - Expert
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
  • katieb
I got my questions answered at in under 10 minutes. Go to now for free help!
  • anonymous
As dumb as this question essentially is, you should understand that CPUs only understand binary. The closest thing next to your CPU is your operating system. The closest thing next to your operating system is your compiler. Your compiler takes what's called "source code", (and depending on the language specifics but lets assume C and gcc) compiles the "code" into instructions (after a whole bunch of behind the scenes stuff, linking / compiler stuff) usually some kind of pseudo-assembly, then that assembly is further compiled into binary. Your compiler needs to translate your computer program source into binary for the operating system and/or the hardware. The operating system takes that file, seeing it as an executable, and executes the instructions within. NOW: How can you directly edit a compiled program? Since computer programs are binary, you can edit the 0s and 1s in the file that the operating system reads. Usually people prefer hexadecimal which is base 16 vs using binary which is base 2. And then you discover that a "hex editor" is what you're looking for when you want to edit a program of an .exe file. Unless you had the source code... but you'd probably, hopefully, understand more about computers if you knew what source code was.

Looking for something else?

Not the answer you are looking for? Search for more explanations.