Ask your own question, for FREE!
MIT 6.001 Structure and Interpretation of Computer Programs, Spring 2005 10 Online
OpenStudy (anonymous):

How can i edit program of an .exe file??

OpenStudy (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.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!