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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [hppa/] [basic/] [extract2.s] - Rev 38

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

	.code
	.align 4
; Basic immediate instruction tests.  
;
; We could/should test some of the corner cases for register and 
; immediate fields.  We should also check the assorted field
; selectors to make sure they're handled correctly.
	extrw,u %r4,5,10,%r6
	extrw,u,= %r4,5,10,%r6
	extrw,u,< %r4,5,10,%r6
	extrw,u,od %r4,5,10,%r6
	extrw,u,tr %r4,5,10,%r6
	extrw,u,<> %r4,5,10,%r6
	extrw,u,>= %r4,5,10,%r6
	extrw,u,ev %r4,5,10,%r6
 
	extrw,s %r4,5,10,%r6
	extrw,s,= %r4,5,10,%r6
	extrw,s,< %r4,5,10,%r6
	extrw,s,od %r4,5,10,%r6
	extrw,tr %r4,5,10,%r6
	extrw,<> %r4,5,10,%r6
	extrw,>= %r4,5,10,%r6
	extrw,ev %r4,5,10,%r6
 
	extrw,u %r4,%sar,5,%r6
	extrw,u,= %r4,%sar,5,%r6
	extrw,u,< %r4,%sar,5,%r6
	extrw,u,od %r4,%sar,5,%r6
	extrw,u,tr %r4,%sar,5,%r6
	extrw,u,<> %r4,%sar,5,%r6
	extrw,u,>= %r4,%sar,5,%r6
	extrw,u,ev %r4,%sar,5,%r6
 
	extrw,s %r4,%sar,5,%r6
	extrw,s,= %r4,%sar,5,%r6
	extrw,s,< %r4,%sar,5,%r6
	extrw,s,od %r4,%sar,5,%r6
	extrw,tr %r4,%sar,5,%r6
	extrw,<> %r4,%sar,5,%r6
	extrw,>= %r4,%sar,5,%r6
	extrw,ev %r4,%sar,5,%r6
 

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.