I don't see how could you execute anything with text editor.
You might be able to make executable "by hand", but for that you need acess to all 8 bit codes ( 0-255 ) whereas text editors have some limitations there, regardless of standard codetable they use (ISO-885x, ASCII, ISO-646/UTF-8 etc).
Why not use decent assembler, like NASM or FASM or even compiler, like gcc ?