Answer:assembler takes as input the assembly code and translates it into relocatable machine code as well as checking each instruction for its correctness and generates a diagnostic message
Complier checks all kinds of limits, ranges,errors,etc before the complete can execute the code the errors must be removed from the source code
Step-by-step explanation: