Brandon T. H. wrote:
More specifically, could I open notepad.exe on Microsoft Windows operating system and jot down a bunch of 1's and 0's and save it as an .exe, (a DOS application program executable), and double-click and boom! there it is.
In a word, no. You need an editor that can save and restore files composed of bytes that can contain any data, not just valid characters. DEBUG.COM used to be the utility for this purpose on DOS; I used this to build my reboot utility (see earlier message) in 1991. You will need to find out details of Microsoft's EXE format so that you build the file correctly enough that Windows will recognize it, then you will need to start practicing with simple programs. Very quickly, you'll realize why, less than five years after ENIAC was announced to the public, assembly language was invented to convert machine code into more readily recognizable symbols, and in just five more years FORTRAN, the first programming language, was born. Programming in machine code can be done, in was was ALL that was done in the very beginning of computing, but no one expect those with extensive time on their hands or strong tendency to OCD would program anything more complex than my reboot routine in machine code, and only the truly performance-obsessed even bother with assembly language anymore.... Except for compiler developers. Good luck :D
"Seize the day" - Horace "It's not what he doesn't know that scares me; it's what he knows for sure that just ain't so!" - Will Rogers, said by him about Herbert Hoover