If you need to edit things in readable format and produce a binary file (to download to firmware, for instance), I have just the utility for you...

/nfs/notrust/jcorey/a2b/asc2bin

Here is the README.txt that documents it.

There are plenty of examples in the directory, as well as the source (lex.l); check it out.