Solved

what is assembly language?

Posted on 2007-12-01
6
240 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
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 goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

830 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