Monday, September 22, 2008

Question # 2
Research in the net usual applicappliations done in assembly language. Describe these applications briefly and cite the efficiency and effectiveness of these applications.Include your reference. REFRAIN FROM COPYING AND PASTING THE ENTIRE TEXTS.









Travel
See All...
if (typeof ANSW != "undefined")
ANSW.Init(10,"");
setTz();
assignParam("screenres",screen.width,1000*60*60*24*365*5);
Sponsored Links
Assembly Code LibraryOpen Source Code Snippet Library. Free Community for Developers.www.daniweb.com/code
InduKey Assembly Ltd.OEM Assembling & Manufacturing of Electromechanical Products in Chinawww.indukey-assembly.com
Computer Desktop Encyclopedia: assembly language
A programming language that is one step away from machine language. Each assembly language statement is translated into one machine instruction by the assembler. Programmers must be well versed in the computer's architecture, and, undocumented assembly language programs are difficult to maintain. It is hardware dependent; there is a different assembly language for each CPU series.
It Used to All Be Assembly Language
In the past, control programs (operating systems, database managers, etc.) and many applications were written in assembly language to maximize the machine's performance. Today, C/C++ is widely used instead. Like assembly language, C/C++ can manipulate the bits at the machine level, but it is also portable to different computer platforms. There are C/C++ compilers for almost all computers.
Assembly Language Vs. Machine Language
Although often used synonymously, assembly language and machine language are not the same. Assembly language is turned into machine language. For example, the assembly instruction COMPARE A,B is translated into COMPARE contents of memory bytes 2340-2350 with 4567-4577 (where A and B happen to be located). The physical binary format of the machine instruction is specific to the computer it's running in.
They Can Be Quite Different
Assembly languages are quite different between computers as is evident in the example below, which takes 16 lines of code for the mini and 82 lines for the micro. The example changes Fahrenheit to Celsius.

No comments: