Alignment Macros

 #define ALIGN2(len) ((len+1) & ~1)    // round up to 16 bits #define ALIGN4(len) ((len+3) & ~3)    // round up to 32 bits #define ALIGN8(len) ((len+7) & ~7)    // round up to 64 bits #define ALIGN16(len) ((len+15) & ~15) // round up to 128 bits #define ALIGN32(len) ((len+31) & ~31) // round up to 128 bits     #define ALIGN2048(len) ((len + 2047) & ~2047)                                       // round up to 1 CD sector 


32.64-Bit 80X86 Assembly Language Architecture
32/64-Bit 80x86 Assembly Language Architecture
ISBN: 1598220020
EAN: 2147483647
Year: 2003
Pages: 191

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net