Understanding the Assembler
An Assembler is a type of system program. Its core function is to convert assembly language, which uses mnemonics, into machine code (binary format) that the computer's processor (CPU) can understand and execute.
Instruction Translation vs. Execution
The question highlights translating and executing "at the same time". Let's analyze the options:
- Assembler: It translates symbolic instructions (mnemonics) into machine code instructions. While the translation step precedes the actual CPU execution, the assembler's output is the direct executable code. This tight coupling is likely what the question implies by "at the same time".
- Interpreter: Executes instructions line by line, translating each one just before execution. This is simultaneous per line but typically for high-level languages.
- Compiler: Translates the entire program into machine code first, creating an executable file. Translation and execution are separate phases.
- Operating System: A system software managing hardware and software resources, not primarily a translator of individual instructions in this context.
Considering the direct conversion of symbolic instructions into executable machine code, the Assembler is the system program described.