You usually align data to get better performance. For most processors, memory access has some penalty when not accessing specific byte boundaries。Let"s say you want to align all branch targets to an alignmentof 8 bytes. So, when you create a new basic block, you musttake care that the address of the first instruction in thisblock is (MOD 8)ALIGN 8, db 0 ; NASM syntax for mod 8, pad with 0for detial ,pls view this :http://coding.derkeiler.com/pdf/Archive/Assembler/alt.lang.asm/2008-02/msg00207.pdf
You usually align data to get better performance. For most processors, memory access has some penalty when not accessing specific byte boundaries。Let"s say you want to align all branch targets to an alignmentof 8 bytes. So, when you create a new basic block, you musttake care that the address of the first instruction in thisblock is (MOD 8)ALIGN 8, db 0 ; NASM syntax for mod 8, pad with 0for detial ,pls view this :http://coding.derkeiler.com/pdf/Archive/Assembler/alt.lang.asm/2008-02/msg00207.pdf