Assembly language is transalated into machine code by
-
Interpretor
-
Compiler
-
Assembler
-
None of the above
An assembler is the specialized program that translates assembly language mnemonics into machine code. Unlike compilers which work with high-level languages, or interpreters which execute code line-by-line, assemblers perform a direct one-to-one conversion of assembly instructions to their binary machine code equivalents.
An assembler translates assembly language (a symbolic, one-to-one representation of machine instructions) directly into machine code/object code. A compiler translates higher-level languages (like C or COBOL) into machine code, and an interpreter executes high-level source line-by-line without producing a standalone machine-code file — neither applies to assembly language specifically, which is the assembler's defined job.