There are two types of assemblers based on how many passes through the source are needed to produce the executable program.
The job of an assembler is to convert low-level assembly language source into a given architecture's native machine code. We can think of machine code as being the common language of all machines, however every architecture has its own specific version of that language as dictated by the architecture itself. In order to produce the correct machine code for a given architecture, we need to use an assembler that was written specifically for that architecture. Moreover, the assembly language source needs to be written specifically for the assembler.
The assembly language for a given architecture is usually developed alongside the hardware and is an integral part of the hardware design. However it is the assembler that actually implements the language. The hardware developer will typically produce a base-line assembler and a specification to which all other assembler implementations must adhere. The base-line assembler executes upon the target machine and, in some cases (particularly in older hardware), is built-in to the machine architecture itself. However, other vendors are free to use that specification to produce their own assemblers, some of which will be intended to execute upon other machines thus making it possible for one machine type to produce machine code for another machine type.
Although assembly languages have much in common with each other, it's the differences that matter. Common instruction synonyms such as JNZ may be mapped to different opcodes, memory may be addressed differently, the number of available registers and their length may differ, and so on. Any change to the architecture requires a new assembly language and a new assembler to implement it.
The same applies to higher-level languages. Each implementation of a high-level language caters for a specific architecture. So although languages such as Java are extremely portable, this is only made possible because each machine architecture has its own dedicated implementation of the Java virtual machine (JVM) which translates portable Java byte code (the JVM's native code) into the machine's native code.
An assembler is a one type of compiler which compiles the program written in assembly language.
An assembler is a computer program for translating assembly language, basically a mnemonic representation of machine language into object code.
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
Sort of joke (or figurative speech) of your teacher, the meaning is: programs with similar/related functionality. They are: interpreter, assembler.
The error messages may be frustrating as they show that your program is not perfect... Or I do not know what risk you mean...
Language processors are language translation software like assembler, interpreter and compiler
I do not know, ask your teacher.Why, for example Python, PHP, Pearl and JavaScript work without compiler; C, Pascal, Cobol and Fortan work without interpreter.None work "without assembler compiler and interpreter" so the question cannot be answered as asked because there is no answer.If we want to write a program without an assembler, compiler or interpreter; it is an easy answer. You hand assemble, that is where you manually enter the machine code. In the early days this was the only way to program a computer. Having done some hand assembly I have to things to say about it.1) it is not as hard as it might appear to be but it is painfully slow to do.2) why bother when there are excellent compilers available.
wee2
Assembler Interpreter Compiler
there are three types of language processors namely interpreter,compiler and assembler
Language processors are language translation software like assembler, interpreter and compiler
there are three types of language processors namely interpreter,compiler and assembler
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
First cousin twice removed is an interpreter, second cousin is an assembler. Its siblings are a text-editor, a linker and a debugger.
The error messages may be frustrating as they show that your program is not perfect... Or I do not know what risk you mean...
Sort of joke (or figurative speech) of your teacher, the meaning is: programs with similar/related functionality. They are: interpreter, assembler.
basically compiler is that convert an object code in to machine code and machine code is directly understood by a computer. assembler and interpreter are the examples of compilers. assembler is used to convert object code of assmebly language in machine code.
To the question, It is an low level language An assembly language is use to write programs : 1.Games 2.Operating system 3.Utility program 4.compiler/assembler/interpreter 5.Virus 6.Defragmenter 7.Device driver
Source code is translated into machine code by an interpreter, a compiler or an assembler, depending on the language that was used to write the source code.