Tests for ld, lr, st, sr insns.
[external/binutils.git] / gas / testsuite / gas / arc / ld.d
1 #objdump: -dr
2 #name: ld/lr
3
4 # Test the ld/lr insn.
5
6 .*: +file format elf32-.*arc
7
8 Disassembly of section .text:
9 00000000 08008000       ld r0,\[r1\]
10 00000004 00418800       ld r2,\[r3,r4\]
11 00000008 08a30001       ld r5,\[r6,1\]
12 0000000c 08e401ff       ld r7,\[r8,-1\]
13 00000010 092500ff       ld r9,\[r10,255\]
14 00000014 09660100       ld r11,\[r12,-256\]
15 00000018 09a70100       ld r13,\[r14,-256\]
16 0000001c 09e800ff       ld r15,\[r16,255\]
17 00000020 023f3800       ld r17,\[305419896,sp\]
18 00000028 0a7f0000       ld r19,\[0\]
19                 RELOC: 0000002c R_ARC_32 foo
20 00000030 0a9f0000       ld r20,\[4\]
21                 RELOC: 00000034 R_ARC_32 foo
22 00000038 081f8400       ldb r0,\[0\]
23 0000003c 081f8800       ldw r0,\[0\]
24 00000040 081f8200       ld.x r0,\[0\]
25 00000044 081f9000       ld.a r0,\[0\]
26 00000048 081fc000       ld.di r0,\[0\]
27 0000004c 08005600       ldb.x.a.di r0,\[r0\]
28 00000050 0800a000       lr r0,\[r1\]
29 00000054 085fa000       lr r2,\[status\]
30 00000058 087f2000       lr r3,\[305419896\]