aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/frv-elf/grloop.s
blob: 844ad1d2941e92a991ecdc172604a2d913e804cf (plain)
1
2
3
4
5
6
7
8
9
10
	.global _start
_start:
	setlo	0x0400,gr10
loop:	
	addicc	gr10,-1,gr10,icc0
	bne	icc0,0,loop
; exit (0)
	setlos	#0,gr8
	setlos	#1,gr7
	tira	gr0,#0