Add assembler main function.