what is compiler and assembler?

 What is a compiler? 

A compiler is a computer program that reads a program written in one language (the so-called source language) and translates it into another language, the so-called target language. In most cases, the source language is of high standards. And the target language is a low-level language, so the compiler is usually regarded as a translator that translates one language into another. In addition, the compiler will do some code optimizations.grammar structure. Next is code optimization and final code generation. 

What is an assembler? 

An assembler is a software or tool that translates assembly language into machine code. Therefore, the assembler is a kind of compiler, and the source code is written with the assembler. The assembler is a human-readable language, but it usually has a one-to-one relationship with the corresponding machine code.Perform isomorphic transformation (one-to-one mapping). The advanced assembler provides additional functions to support the program development and debugging process. For example, this type of assembler, called a macro assembler, provides macro tools.

 

Comments