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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [tic54x/] [address.s] - Rev 205

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

	;; test all addressing permutations
	.text
_addressing:	
	and	Y,a		; direct
	and	*ar1,a		; indirect (all modes)
	and	*ar1-,b
	and	*ar1+,a
	stl	b,*+ar1
	and	*ar1-0b,a
	and	*ar1-0,b	
	and	*ar1+0,a	
	and	*ar1+0b,b	
	and	*ar1-%,a	
	and	*ar1-0%,b	
	and	*ar1+%,a	
	and	*ar1+0%,b	
	and	*ar1(32768),a	
	and	*+ar1(X+1),b
	and	*+ar1(Y)%,a
	and	*(65535),b	
	.data
X:	.word	0	
Y:	.word	1	
	.end
 

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.