summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mips/li.d
blob: 7c3dfc3121dac23926e1a1d0b8b21957332393c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#objdump: -dr --prefix-addresses -mmips:4000
#name: MIPS li

# Test the li macro.

.*: +file format .*mips.*

Disassembly of section .text:
0+0000 <[^>]*> li	a0,0
0+0004 <[^>]*> li	a0,1
0+0008 <[^>]*> li	a0,0x8000
0+000c <[^>]*> li	a0,-32768
0+0010 <[^>]*> lui	a0,0x1
0+0014 <[^>]*> lui	a0,0x1
0+0018 <[^>]*> ori	a0,a0,0xa5a5
0+001c <[^>]*> nop