1! { dg-do assemble }
2
3! Check that an error occurs on mova instructions with an unaligned or
4! negative offset.
5
6negative:
7	.word 0
8
9	.align 2
10start:
11	mova start, r0      ! { dg-error "negative offset|pcrel too far" }
12	mova negative, r0   ! { dg-error "negative offset|pcrel too far" }
13	mova aligned, r0    ! ok
14	mova unaligned, r0  ! { dg-error "unaligned destination" }
15
16	.align 2
17aligned:
18	.word 1
19unaligned:
20	.word 2
21