aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/nds32/lsi.d
blob: 9fe53712b2d416283f6ed963b94385b0a2aae832 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#objdump: -d --prefix-addresses
#name: nds32 load-store immediate instructions
#as:

# Test lsi instructions

.*:     file format .*

Disassembly of section .text:
0+0000 <[^>]*> lwi	\$r0, \[\$r1 \+ #4\]
0+0004 <[^>]*> lhi	\$r0, \[\$r1 \+ #2\]
0+0008 <[^>]*> lhsi	\$r0, \[\$r1 \+ #-2\]
0+000c <[^>]*> lbi	\$r0, \[\$r1 \+ #1\]
0+0010 <[^>]*> lbsi	\$r0, \[\$r1 \+ #-1\]
0+0014 <[^>]*> swi	\$r0, \[\$r1 \+ #4\]
0+0018 <[^>]*> shi	\$r0, \[\$r1 \+ #2\]
0+001c <[^>]*> sbi	\$r0, \[\$r1 \+ #1\]
0+0020 <[^>]*> lwi.bi	\$r0, \[\$r1\], #4
0+0024 <[^>]*> lhi.bi	\$r0, \[\$r1\], #2
0+0028 <[^>]*> lhsi.bi	\$r0, \[\$r1\], #-2
0+002c <[^>]*> lbi.bi	\$r0, \[\$r1\], #1
0+0030 <[^>]*> lbsi.bi	\$r0, \[\$r1\], #-1
0+0034 <[^>]*> swi.bi	\$r0, \[\$r1\], #4
0+0038 <[^>]*> shi.bi	\$r0, \[\$r1\], #2
0+003c <[^>]*> sbi.bi	\$r0, \[\$r1\], #1