Second reading assembly language

First read textbooks compiled language is that this book written by Kip Irvine dalao, more urgent, because rushing to complete the job, only gulping up.

Recently, when used in the compilation write something not always feel so frustrated, so he re-read the basics, and now just read the third chapter (basic knowledge of assembly language),

These days will probably read this book more than a few times, in order to achieve the review, the effect of improving;

Without further ado, the next is my newfound "knowledge":

 

1. hexadecimal numbers begin with the letter, 0 must be added to a pre prevent assembler to be construed as an identifier

2. The only constant integer expression calculated at assembly, as well as the same assembler directive will be compiled in the assembly phase of the corresponding substitute

3. predefined symbols such as @data, returns an integer value constant during assembly

4. Instruction: [label:] mnemonic [operation] [; comment] This is the 'prototype' a complete instruction apos;

5. NOP instruction ------ null pointer, its main use is as an address, Intel chips in an even address will be accessed quickly.

6. executable file executable file   

7. list file address counting (similar segment address and offset address in the offset address) starting from program memory

8. db dw dd dq dt is directive  

Data 10 BCD Binary coded Decimal (binary coded decimal)

Guess you like

Origin www.cnblogs.com/love-coding/p/11774717.html