what is the difference between an assembler and the translator
I am not sure about the answer but think so, Assembler: Its a program that converts a low level language into machine code, and there is a one-to-one correspondence between the source language statements and machine instructions Macro- Assembler: It performs the same task as does the assembler but there is some times a one-to-many correspondence between the source language statements and machine instructions. Please discuss further...
No, a C program cant work without an interpreter or compiler or assembler as the code written in the program is not understood directly by the computer so it needs any of the above translator program to make the program understandable to the computer.-Shruti Jain
A compiler transforms source code from a source file into low-level machine code, which is able to be executed directly on the CPU. A translator feeds the source code of a script into a different program that determines what the code is doing and executes the instructions.
There is no definite term "assembler" in compilation process. It is more like "compiler" and "linker". Assembler usually refers to a compiler of machine language: http://en.wikipedia.org/wiki/Assembly_language So you probably mean difference between compiler and linker? Lets say you have a 3 module program, and it uses a 3rd party library, then the compiler will just compile each of your modules (separately) into binary pieces, which have "unclosed" references to abovementioned library and other 2 modules. After u have 3 binary pieces comes in "linker" it attaches those "unclosed" (or unlinked) links to other modules and library, therefore giving you working program file (.exe file for example). Really hard to say that without a schema or something like that:) Hope this answer helped you.
A low-level language is any symbolic computer programming language that has a low-level of abstraction between the language itself and the machine code that it produces. Assembler language has a near 1:1 relationship with its resultant machine code and is therefore a low-level language. In fact, the only things lower than assembler language is machine code itself and disassembly, which is the reverse of assembly, both of which have no abstraction whatsoever. The only real difference between assembler language and disassembly are that disassembly has none of the comments and none of the symbolic references used by the original assembler, since both were stripped out during assembly. However, a competent hacker, with the aid of the disassembler, can reconstruct a facsimile of the original assembler from the machine code disassembly, thus permitting software to be reverse-engineered.
An assembler which runs on a computer for which it produces object codes
Assembler, Compiler and Interpretor
wee2
The assembler is translator which converts assembly language code into machine language code.
A translator is written translation. And an interpreter is an oral translation.
Neither one of them is a "language translator."
Assembly language does not use a traditional translator; instead, it uses an assembler to convert its mnemonics into machine code. The assembler translates the assembly instructions into binary code that the computer's CPU can understand and execute.
I am not sure about the answer but think so, Assembler: Its a program that converts a low level language into machine code, and there is a one-to-one correspondence between the source language statements and machine instructions Macro- Assembler: It performs the same task as does the assembler but there is some times a one-to-many correspondence between the source language statements and machine instructions. Please discuss further...
Well , in computer terminology an interpreter is a translator which translates a source code line by line and executes it, while a translator is a big word it may have different types like compiler, interpreter, assembler etc. Answer In more specific language terms, an interpreter is a person who translates one language to another, for instance at the UN, where quick-wittedness and a good memory are attributes, whereas a translator converts a written work from from one language to another, where being methodical and having good research material to hand are advantages.
Assembler However, because the computer does not understand mnemonics, we utilise Assembler to convert them into machine language. Assembler is a machine code translator that accepts assembly code as input and outputs machine code. To learn more about data science please visit- Learnbay.co
No, a C program cant work without an interpreter or compiler or assembler as the code written in the program is not understood directly by the computer so it needs any of the above translator program to make the program understandable to the computer.-Shruti Jain
An interpreter translates spoken language in real time, facilitating communication between individuals who do not speak the same language, while a translator converts written text from one language to another, preserving the original meaning and nuances of the content. Additionally, interpreters usually work with verbal communication, whereas translators work with written communication.