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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [sh/] [err-mova.s] - Rev 856

Go to most recent revision | Compare with Previous | Blame | View Log

! { dg-do assemble }
 
! Check that an error occurs on mova instructions with an unaligned or
! negative offset.
 
negative:
	.word 0
 
	.align 2
start:
	mova start, r0      ! { dg-error "negative offset|pcrel too far" }
	mova negative, r0   ! { dg-error "negative offset|pcrel too far" }
	mova aligned, r0    ! ok
	mova unaligned, r0  ! { dg-error "unaligned destination" }
 
	.align 2
aligned:
	.word 1
unaligned:
	.word 2
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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