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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [m68k/] [bitfield.s] - Rev 816

Compare with Previous | Blame | View Log

# Test handling of bitfield instruction operands.
	.text
	.globl	foo
foo:	
	bfexts	(%a0){&1:&2},%d0
	bfexts	(%a0){&1:&(2+4)},%d0
	bfexts	(%a0){&(1+2):&2},%d0
	bfexts	(%a0){&(1+2):&(2+4)},%d0
	bfexts	%a0@,&1,&2,%d0
	bfexts	%a0@,&1,&(2+4),%d0
	bfexts	%a0@,&1+2,&2,%d0
	bfexts	%a0@,&(1+2),&(2+4),%d0
	bfset	(%a0){&1:&2}
	bfset	(%a0){&1:&(2+4)}
	bfset	(%a0){&(1+2):&2}
	bfset	(%a0){&(1+2):&(2+4)}
	bfset	%a0@,&1,&2
	bfset	%a0@,&1,&(2+4)
	bfset	%a0@,&1+2,&2
	bfset	%a0@,&(1+2),&(2+4)
	bfexts	(%a0){%d1:%d2},%d0
	bfexts	%a0@,%d1,%d2,%d0
	bfset	(%a0){%d1:%d2}
	bfset	%a0@,%d1,%d2
 

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.