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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [tic54x/] [address.s] - Rev 438

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.