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.
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.
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++.
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.
A compiler produces object code, which is an obj file.
just as you do it in C.
Sure.
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++.
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.
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.
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 what in the computer.
When you write a compiler, assembler or linker in C.
C, C++, and Assembler.
A compiler produces object code, which is an obj file.
It should be written in C, C++ or Python.
just as you do it in C.
Only if you have a C++ compiler.
depends what you use it for. c++ = object oriented c = not object oriented