[binutils][arm] arm support for ARMv8.m Custom Datapath Extension
[deliverable/binutils-gdb.git] / gas / testsuite / gas / sh / err-mova.s
CommitLineData
52b5ca5b
AS
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
This page took 0.541232 seconds and 4 git commands to generate.