Commit | Line | Data |
---|---|---|
52b6b6b9 JM |
1 | # Source file used to test XLR's assembler instructions |
2 | ||
3 | .set noreorder | |
4 | .set noat | |
5 | ||
6 | .globl text_label .text | |
7 | text_label: | |
8 | ||
9 | lui $0, 0x00 | |
10 | lw $1, 0x01 | |
11 | lw $2, 0x02 | |
12 | ||
13 | daddwc $3, $1, $2 | |
14 | ||
15 | ldaddw $3, $1 | |
16 | ldaddwu $3, $1 | |
17 | ldaddd $3, $1 | |
18 | ||
19 | swapw $3, $1 | |
20 | swapwu $3, $1 | |
21 | ||
22 | msgwait | |
23 | msgld $0 | |
24 | msgsnd $0 | |
25 | ||
26 | # Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ... | |
27 | .space 8 |