Explaining Computer Translator
Translator Translator is a computer program that translates program written in a given programming language into a functionally equivalent program in a different language. Depending on the translator, this may involve changing or simplifying the program flow without losing the essence of the program, thereby producing a functionally equivalent program. Types of Language Translator There are mainly three Types of translators which are used to translate different programming languages into machine equivalent code: 1. Assembler 2. Compiler 3. Interpreter 1. Assembler An assembler translates assembly language into machine code. Assembly language consists of Mnemonics for machine Op-codes, so assemblers perform a 1:1 translation from mnemonic to a direct instruction. For example, LDA #4 converts to 0001001000100100. Conversely, one instruction in a high level language will translate to one or more instructions at machine lev...