Переписал на Питоне.
http://code.google.com/p/svofski/sou...ttyasm/pasm.py
Запуск pasm.py <source>.asm [--ihex=out.hex --lst=out.lst.html]