answersLogoWhite

0

An assembler is used to convert low-level assembly language into machine code. Assembly language is a symbolic language that maps 1:1 with the machine code produced by the assembler.

A compiler is used to convert a high-level language into a low-level language such as intermediate byte code, assembly or native machine code.

An interpreter is used to convert a high-level language or byte code into native machine code. Statements are typically converted to machine code instructions one statement at a time, rather than all at once.

All high-level are either compiled or interpreted, however some are both compiled and interpreted. Most compiled languages compile to machine code, however some, such as Java, compile to an intermediate byte code which must then be interpreted to produce the machine code.

User Avatar

Wiki User

10y ago

Still curious? Ask our experts.

Chat with our AI personalities

RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa
ProfessorProfessor
I will give you the most educated answer.
Chat with Professor
EzraEzra
Faith is not about having all the answers, but learning to ask the right questions.
Chat with Ezra
More answers

The uses of inline assembly include:

  • Writing functions in assembly language.
  • Spot-optimizing speed-critical sections of code.
  • Making direct hardware access for device drivers.
  • Writing prolog and epilog code for "naked" calls.

    "Nazanin Delaam"

User Avatar

Wiki User

13y ago
User Avatar

Answer

in simple way u can say assembler converts the assembly language into machine language.

the main function of an assembler is assign addresses to labels.

User Avatar

Wiki User

15y ago
User Avatar

Add your answer:

Earn +20 pts
Q: What are the main functions of an Assembler?
Write your answer...
Submit
Still have questions?
magnify glass
imp