assembler modified to work with vhdl simulation