Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | # Source file used to test the add macro. |
2 | ||
3 | foo: | |
4 | add $4,$4,0 | |
5 | add $4,$4,1 | |
6 | add $4,$4,0x8000 | |
7 | add $4,$4,-0x8000 | |
8 | add $4,$4,0x10000 | |
9 | add $4,$4,0x1a5a5 | |
10 | ||
11 | # addu is handled the same way add is; just confirm that it isn't | |
12 | # totally broken. | |
13 | addu $4,$4,1 | |
14 | ||
15 | # Round to a 16 byte boundary, for ease in testing multiple targets. | |
16 | nop |