Modified assembler to handle external linkage