* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / gas / testsuite / gas / arm / ldst-offset0.s
blob9b0900f605f7b4fbd2e43de70b0d4175f646db2e
1 @ Test file for ARM load/store instructions with 0 offset
3 .text
4 .syntax unified
5 ldr r1, [r2, #-0]
6 ldr r1, [r2, #-1+1]
8 ldr r1, [r2, #1-1]
9 ldr r1, [r2, #0]
11 ldr r1, [r2, #-0]!
12 ldr r1, [r2, #-1+1]!
14 ldr r1, [r2, #1-1]!
15 ldr r1, [r2, #0]!
17 ldr r1, [r2], #-0
18 ldr r1, [r2], #-1+1
20 ldr r1, [r2], #1-1
21 ldr r1, [r2], #0
23 ldr r1, [r2]!
24 ldr r1, [r2]
26 ldrbt r1, [r2], #0
27 ldrbt r1, [r2], #-0
29 ldrbt r1, [r2]
31 ldclpl p3, c5, [r6, #-0]
32 ldclpl p3, c5, [r6, #0]
34 str r1, [r2, #-0]
35 str r1, [r2, #-1+1]
37 str r1, [r2, #1-1]
38 str r1, [r2, #0]
40 str r1, [r2, #-0]!
41 str r1, [r2, #-1+1]!
43 str r1, [r2, #1-1]!
44 str r1, [r2, #0]!
46 str r1, [r2], #-0
47 str r1, [r2], #-1+1
49 str r1, [r2], #1-1
50 str r1, [r2], #0
52 str r1, [r2]!
53 str r1, [r2]
55 strbt r1, [r2], #0
56 strbt r1, [r2], #-0
58 strbt r1, [r2]
60 stclpl p3, c5, [r6, #-0]
61 stclpl p3, c5, [r6, #0]
63 ldr r0,1f
64 ldr r0,1f
65 ldr r0,1f
66 1: .word 0