Commit | Line | Data |
---|---|---|
36591ba1 SL |
1 | .text |
2 | .global _start | |
3 | _start: | |
4 | ||
5 | # byte aligned | |
6 | .align 0 | |
7 | .byte byte_sym | |
8 | ||
9 | # short aligned | |
10 | .align 1 | |
11 | .short short_sym | |
12 | ||
13 | # word aligned | |
14 | .align 2 | |
15 | .long long_sym | |
16 | ||
17 | # now lets try some unaligned words and halfwords | |
18 | .byte byte_sym | |
19 | .2byte short_sym | |
20 | .4byte long_sym | |
21 | ||
22 | #.align 2 | |
23 | #nop | |
24 |