Commit | Line | Data |
---|---|---|
af7ee8bf CD |
1 | # source file to test objdump's disassembly using various styles of |
2 | # HWR (hardware register) names. | |
3 | ||
4 | .set noreorder | |
5 | .set noat | |
6 | ||
7 | .globl text_label .text | |
8 | text_label: | |
9 | ||
10 | rdhwr $0, $0 | |
11 | rdhwr $0, $1 | |
12 | rdhwr $0, $2 | |
13 | rdhwr $0, $3 | |
14 | rdhwr $0, $4 | |
15 | rdhwr $0, $5 | |
16 | rdhwr $0, $6 | |
17 | rdhwr $0, $7 | |
18 | rdhwr $0, $8 | |
19 | rdhwr $0, $9 | |
20 | rdhwr $0, $10 | |
21 | rdhwr $0, $11 | |
22 | rdhwr $0, $12 | |
23 | rdhwr $0, $13 | |
24 | rdhwr $0, $14 | |
25 | rdhwr $0, $15 | |
26 | rdhwr $0, $16 | |
27 | rdhwr $0, $17 | |
28 | rdhwr $0, $18 | |
29 | rdhwr $0, $19 | |
30 | rdhwr $0, $20 | |
31 | rdhwr $0, $21 | |
32 | rdhwr $0, $22 | |
33 | rdhwr $0, $23 | |
34 | rdhwr $0, $24 | |
35 | rdhwr $0, $25 | |
36 | rdhwr $0, $26 | |
37 | rdhwr $0, $27 | |
38 | rdhwr $0, $28 | |
39 | rdhwr $0, $29 | |
40 | rdhwr $0, $30 | |
41 | rdhwr $0, $31 | |
42 | ||
7e96e219 RS |
43 | .ifdef r6 |
44 | rdhwr $0, $4, 0 | |
45 | rdhwr $0, $4, 1 | |
46 | rdhwr $0, $4, 2 | |
47 | rdhwr $0, $4, 3 | |
48 | rdhwr $0, $4, 4 | |
49 | rdhwr $0, $4, 5 | |
50 | rdhwr $0, $4, 6 | |
51 | rdhwr $0, $4, 7 | |
52 | .endif | |
53 | ||
af7ee8bf CD |
54 | # Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ... |
55 | .space 8 |