1* alignment directives 2* .even == .align 1, .even 2 == longword boundary 3* .align [size] ; size is number of words (value must be a power of 2) 4* NOTE: .even is broken on TI tools, so theirs won't align .data 5* NOTE: TI defaults text section to DATA until opcodes are seen 6* NOTE: GAS will fill a section to its alignment; it should probably not 7* in this case. 8 .global even, align2, align8, align128 9 .field 2, 3 10 .field 11, 8 11 .word 0x1, 0x2 12 .even 13even .word 0x3 14 .align 2 15align2 .string "abcde" 16 .align 8 17align8 .word 8 18 .word 0,1,2,3,4,5,6,7 19 .align 20align128 .byte 4 21 .word 0,1,2,3,4,5,6,7 22* TI .text section total size is 0x89 words; GAS fills to 0xc0 23* no, it doesn't fill post 2002-05-23 write.c change since we don't define 24# HANDLE_ALIGN or SUB_SEGMENT_ALIGN. 25 .data 26 .field 2, 3 27 .field 11, 8 28 .word 0x1, 0x2 29 .even 30 .word 0x3 31 .end 32