Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | #objdump: -dr --prefix-addresses -mmips:4000 |
2 | #name: MIPS li | |
3 | ||
4 | # Test the li macro. | |
5 | ||
6 | .*: +file format .*mips.* | |
7 | ||
8 | Disassembly of section .text: | |
9 | 0+0000 <[^>]*> li \$a0,0 | |
10 | 0+0004 <[^>]*> li \$a0,1 | |
11 | 0+0008 <[^>]*> li \$a0,0x8000 | |
12 | 0+000c <[^>]*> li \$a0,-32768 | |
13 | 0+0010 <[^>]*> lui \$a0,0x1 | |
14 | 0+0014 <[^>]*> lui \$a0,0x1 | |
15 | 0+0018 <[^>]*> ori \$a0,\$a0,0xa5a5 | |
16 | 0+001c <[^>]*> nop |