Solved

what is assembly language?

Posted on 2007-12-01
6
241 Views
Last Modified: 2008-05-01
it sounds very useful, but what is it?
0
Comment
Question by:Troudeloup
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

738 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