All an exe file is, is a file containing machine code, or code that the motherboard/processing-unit can understand. Doing this your self will be extremely hard, so you should use a compiler. You could try C?
EDIT: Woa, was this thread bumped by someone? If so, excuse me.