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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [maxq20/] [call.s] - Rev 438

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

;# calls.s
;# check program flow instruction involving CALL & RET
.text
foo:
	Call SmallCall
	Call LongCall
SmallCall:
	RET
	RET C
	RET Z
	RET NZ
	RET S	
	RETI
	RETI C
	RETI Z
	RETI NZ
	RETI S
	MOVE LC[1], #10h
LoopTop:
	Call LoopTop
	DJNZ LC[1], LoopTop
	MOVE LC[1], #10h
LoopTop1:
	Call LoopTop1
	.fill 0x200, 2, 0 
	DJNZ LC[1], LoopTop	
LongCall:
	RETI
	RETI C
	RETI Z
	RETI NZ
	RETI S
 

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.