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