C source code is first converted to object code by a compiler, one translation unit at a time. The resultant object files are then linked together to produce a machine code executable.
Assembly langue is translated into machine language by an assembler.
AdvantageThe only advantage is that program of machine language run very fast because no translation program is required for the CPU.DisadvantagesIt is very difficult to program in machine language. The programmer has to know details of hardware to write program.The programmer has to remember a lot of codes to write a program which results in program errors.It is difficult to debug the program.
Both must be translated into a common language. That language is machine code, the native language of the machine.
An Assembler converts assembly language instructions into machine language.
She created the first compiler for computers, a program that translated a high-level language into machine code. She also designed a data-processing compiler known as Flow-matic which formed the basis for the COBOL language.
A machine code program. Machine code is the native language of the machine and the only language actually understood by the machine. However, program instructions can be written using a high-level programming language that the computer can translate into machine code using another machine code program called a compiler.
compiler or assembler
program machine control unit processing epuipments
A program called a compiler, or sometimes an assembler (depending on the programming language) does this for you. You write the source code, then invoke the program that will convert this into machine language.
No, they are not the same. Assembly language uses mnemonic words to REPRESENT machine language; to be able to actually run it, a special program - a so-called assembler - then needs to convert it into machine language.
With a compiler, which is a program that "knows" how to transform the programming language logic in to machine code and make it perform from that.
That would be assembly language or machine language, and just so you know, it is very difficult to learn.