Commit | Line | Data |
---|---|---|
35c08157 KLC |
1 | .global _start |
2 | .global WORD | |
3 | .global HALF | |
4 | .global BYTE | |
5 | .global ULEB128 | |
6 | .text | |
7 | _start: | |
8 | nop | |
9 | .L0: | |
10 | l.w $r0, WORD | |
11 | .zero 122 | |
12 | .L1: | |
13 | nop | |
14 | ||
15 | .section code, "ax" | |
16 | FOO: | |
17 | ret | |
18 | ||
19 | .data | |
20 | WORD: | |
21 | .word .L1-.L0 | |
22 | HALF: | |
23 | .half .L1-.L0 | |
24 | BYTE: | |
25 | .byte .L1-.L0 | |
26 | ULEB128: | |
27 | .uleb128 .L1-.L0 | |
28 | ULEB128_2: | |
29 | .uleb128 .L1-.L0 | |
30 | .align 2 | |
31 | PAD: | |
32 | .long 0 |