answersLogoWhite

0


Best Answer

an assembler is a program,just like a compiler.that processes staaements written in a particular high level language and produces an object code in a low level language (assembly language) that the computer can understand.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

10y ago

Inline assembley allows C++ programmers to write machine-specific code, thus allowing the programmer to exploit the underlying hardware to produce more efficient code than might otherwise be possible with the C++ compiler's built-in optimisers.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the use of assembler in c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What program do they use to make c plus plus compilers?

The first generation C++ compiler was written in C. Newer generations of C++ compilers are written using the previous generation of C++, however some implementations also use assembler, either in part or in whole. Bear in mind that one of the first programs ever written for a computer was an assembler. Before assembler, all code had to be written in machine code, the native language of the computer, which was labour intensive and prone to error. But that was exactly how the first generation assembler had to be written. Thereafter, the assembler was used to create the next generation assembler, and the next, until high-level languages began to appear (again, written in assembler), until C finally appeared, which eventually led to C++.


What is the assembler of java c plus plus c and asp.net?

There is no such thing. An "assembler" is a program that converts assembly language code, into machine language. Other programming languages have a "compiler", which is more or less equivalent.


What can you do in c plus plus which you cant do in c?

Object Oriented Programming.Although some people, myself included, consider OO to be a state of mind rather than a specific language implementation, and that you can use OO principles in non OO languages, even assembler, but the above answer is generally accepted as true.


Code for 8086 assembler in C or C plus plus?

Yes, you can write an 8086-assembler in C or C++. It is not that easy, though.It is posible with asm or __asm__ directive with combination of volatile or __volatile__ for non memory affecting code.Sample:__asm__ ("mov %ax, %bx");Move content of ax registry to bx.Follow howto page for tutorial. http://www.ibiblio.org/gferg/ldp/GCC-Inline-Assembly-HOWTO.html


How the turbo c plus plus use in the computer?

How the turbo c plus plus use what in the computer.


When is an object file in c used?

When you write a compiler, assembler or linker in C.


What programming language is Microsoft Windows 3.1 programmed in?

C, C++, and Assembler.


Which program produces the obj file assembly or C plus plus?

A compiler produces object code, which is an obj file.


What programming language is antivirus written?

It should be written in C, C++ or Python.


How do you use conioh header in c plus plus?

just as you do it in C.


Can you use c plus plus in windosh vista?

Only if you have a C++ compiler.


Which is best C or C plus plus?

depends what you use it for. c++ = object oriented c = not object oriented