How to write and executable Windows .exe manually (machine code with Hex editor)?
I'd like to know how is it possible to write something as simple as an Hello World program just by using an Hex Editor. I know that I could use an assembler and assembly language to this at a near machine level but I just want to experiment with really writing machine code in a toy example such as Hello World. This could be a simple DOS .COM file that I can run on DOSBox. But it would be nice if someone could provide an example for an .EXE file for running it directly on my Windows PC. This is just pure curiosity. No... I'm not thinking of writing programs directly in binary machine code (I