Beruflich Dokumente
Kultur Dokumente
ABSTRACT
This paper will have an introductory description and the main purpose of Assembly Language which explains that assembly language is one most powerful computer programming language available, and it gives programmers the insight required to write effective codes.
Keywords
Programming, Machine, Language, Commands, Low-Level
1. INTRODUCTION
[1] Assembly Language is a low level programming Language, the opposite of C languages which has high level language. Assembly language is the representation of the machine to give some instruction; the assembler is responsible in reading/understanding the instruction to perform basic operations of the machine. Assembly language has a big difference with the high level language. One difference is the both data and program structures in assembly language are created by directly executing them on the hardware.
2. ASSEMBLY LANGUAGE
[2] Machine Language, is what the computer actually sees and deals with. Every command the computer sees is given as a number or sequence of numbers. Assembly Language, This is the same as machine language, except the command numbers have been replaced by letter sequences which are easier to memorize. Assembly Language is like programming the machine or tells the computer what to do. Assembly language is considered as lowlevel programming language, which means that it can only be used to do the simple tasks that a computer can understand directly. Assembly Language can compose many instructions to do just one task or action. In Assembly Language, one important factor is [3] mnemonic which each instruction can be written as a short word and it is used so that the programmer does not have to remember the exact numbers in machine code needed to tell the computer to do something.
5. SYNTAX
MOV, a data transfer instruction, copies a source operand to a destination operand. The MOVZX instruction zero-extends a smaller operand into a larger one. The MOVSX instruction sign extends a smaller operand into a larger register. The XCHG instruction exchanges the contents of two operands. At least one operand must be a register. The mnemonic "mov" represents the opcode 1011 which moves the value in the second operand into the register indicated by the first operand. The mnemonic was chosen by the instruction set designer to abbreviate "move", making it easier for the programmer to remember. A comma-separated list of arguments or parameters follows the opcode; this is a typical assembly language statement.
6. REFERENCES
[1] Introduction of Assembly Language, http://www.webopedia.com/TERM/A/assembly_language.html [2] Jeff Duntemann, Assembly Language Step-by-Step: Programming with DOS and Linux, Second Edition (2000) [3] Assembly, http://www.computernostalgia.net/articles/assembly.htm [4] Comparison of Assembly Language and High Level Language, http://www.osdata.com/topic/language/asm/asmintro.htm [5] Usage of Assembly Language, http://www.computernostalgia.net/articles/assembly.htm