move entry point call to the assembler