Professional Documents
Culture Documents
Valeriano Jo Ren 2M
Valeriano Jo Ren 2M
Valeriano Jo Ren 2M
Assembly Language
An assembly language is a low-level programming language for a computer, or other programmable device, in which there is a very strong (generally one-to-one) correspondence between the language and the architecture's machine code instructions.
Assembly language is converted into executable machine code by a utility program referred to as an assembler; the conversion process is referred to as assembly, or assembling the code.
http://en.wikipedia.org/wiki/Assemb ly_language#Current_usage
Key concepts
Assembler - An assembler creates object code by translating assembly instruction mnemonics into opcodes, and by resolving symbolic names for memory locations and other entities. The use of symbolic references is a key feature of assemblers, saving tedious calculations and manual address updates after program modifications. Most assemblers also include macro facilities for performing textual substitution
http://en.wikipedia.org/wiki/Assemb ly_language#Current_usage
Mnemonic
A mnemonic or mnemonic device, is any learning technique that aids information retention. Mnemonics aim to translate information into a form that the human brain can retain better than its original form.
http://en.wikipedia.org/wiki/Mnemo nic
Opcode
An opcode (operation code) is the portion of a machine language instruction that specifies the operation to be performed.
http://en.wikipedia.org/wiki/Opcode
MASM32
MASM32 is the Microsoft Macro Assembler. It is an assembler. It takes your code pre-processes it and converts it to binary. The links it to runnable executable or an OBJect file. Processors 32bit and em64t processors (80386 and up) support the 8086 compatibility mode called "real mode". Which means that all PCs to this day are backward compatible with say MS-DOS and all the games that used to run on IBM XT.
http://stackoverflow.com/questions/4733059/what-is-masmwhich-we-generally-use-it-for-learning-assembly-language-code
Resuming with the Point no. 5 of previous post Beginning With MASM After typing a simple program for addition the screen will look like:
http://imabhishekgarg.wordpress.com /category/assembly-language-masmprogramming/
Now Let us Save the file (File-> Save ) and exit (File>Exit or Alt+F+x) well get back to the cmd screen :
http://imabhishekgarg.wordpress.com /category/assembly-language-masmprogramming/
http://imabhishekgarg.wordpress.com /category/assembly-language-masmprogramming/
After entering Debug addition.exe the cursor starts blinking in front of a hyphen . Now well see the step by step result by pressing t and enter alternatively.
http://imabhishekgarg.wordpress.com /category/assembly-language-masmprogramming/