Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | # Source file used to test the blt macro. |
2 | ||
3 | text_label: | |
4 | blt $4,$5,text_label | |
5 | blt $4,$0,text_label | |
6 | blt $0,$5,text_label | |
7 | blt $4,0,text_label | |
8 | blt $4,1,text_label | |
9 | blt $4,2,text_label | |
10 | blt $4,0x8000,text_label | |
11 | blt $4,-0x8000,text_label | |
12 | blt $4,0x10000,text_label | |
13 | blt $4,0x1a5a5,text_label | |
14 | ||
15 | # ble is handled like blt, except when both arguments are registers. | |
16 | # Just sanity check it otherwise. | |
17 | ble $4,$5,text_label | |
18 | ble $4,$0,text_label | |
19 | ble $0,$5,text_label | |
20 | ble $4,0,text_label | |
21 | ||
cb56d3d3 | 22 | # Branch to an external label. |
bad36eac DJ |
23 | blt $4,$5,external_label |
24 | ble $4,$5,external_label | |
cb56d3d3 | 25 | |
df58fc94 RS |
26 | # Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ... |
27 | .align 2 | |
28 | .space 8 |