OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [sh/] [err-mova.s] - Blame information for rev 205

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
! { dg-do assemble }
2
 
3
! Check that an error occurs on mova instructions with an unaligned or
4
! negative offset.
5
 
6
negative:
7
        .word 0
8
 
9
        .align 2
10
start:
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
17
aligned:
18
        .word 1
19
unaligned:
20
        .word 2

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.