OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

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

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.