Solved

what is assembly language?

Posted on 2007-12-01
6
236 Views
Last Modified: 2008-05-01
it sounds very useful, but what is it?
0
Comment
Question by:Troudeloup
6 Comments
 
LVL 19

Accepted Solution

by:
Limbeck earned 125 total points
ID: 20388196
0
 
LVL 7

Assisted Solution

by:Maverick_Cool
Maverick_Cool earned 125 total points
ID: 20388198
it is language which directly shows operations at cPU register level , intermediate b/w machine code and high level language,
0
 
LVL 53

Assisted Solution

by:Infinity08
Infinity08 earned 125 total points
ID: 20390836
Assembly is the low level language for a system that uses CPU instructions directly. Every system can have its own way of doing this, so there's usually a higher-level abstraction, like C or C++, that is used instead. A C or C++ compiler will first translate the C/C++ code to assembly, which will then be compiled into a binary.

Assembly is very powerful, but also quite complicated to write in. It requires knowledge of the CPU's instruction set, as well as the system's architecture.

0
 
LVL 4

Assisted Solution

by:yuy2002
yuy2002 earned 125 total points
ID: 20394069
An assembly language program is stored as text (just as a higher level
language program). Each assembly instruction represents exactly one machine
instruction. For example, the addition instruction described above
would be represented in assembly language as:
add eax, ebx
Here the meaning of the instruction is much clearer than in machine code.
The word add is a mnemonic for the addition instruction. The general form
of an assembly instruction is:
memonic operand(s)
An assembler is a program that reads a text file with assembly instructions
and converts the assembly into machine code. Compilers are programs
that do similar conversions for high-level programming languages. An assembler
is much simpler than a compiler. Every assembly language statement
directly represents a single machine instruction. High-level language statements
are much more complex and may require many machine instructions.
Another important difference between assembly and high-level languages
is that since every different type of CPU has its own machine language, it
also has its own assembly language. Porting assembly programs between
different computer architectures is much more difficult than in a high-level
language.

regards,
charles
0
 
LVL 53

Expert Comment

by:Infinity08
ID: 21473657
All responses give added value ...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Which IDE to use to begin C++ training? 5 59
AVI wait icons for CAnimateCtrl in Visual Studio 2008 MFC 1 120
C++ Language error 28 196
Add values of each row in an array 3 50
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now