updated assembler.cpp