@----------------------------------------------------------------------------
@
@\Source: /usr/local/cvsroot/gccsdk/unixlib/source/sys/_profile.s,v $
@\Date: 2002/09/24 2102:38 $
@\Revision: 1.4 $
@\State: Exp $
@\Author: admin $
@
@----------------------------------------------------------------------------

	.include	"clib/unixlib/asm_dec.s"


	.global	_count
	NAME	_count
_count:
	@ Increment the work pointed to by lr, then add 4 to
	@ lr to get the true return address
	LDR	ip, [lr, #0]
	ADD	ip, ip, #1
	STR	ip, [lr], #4
	return	AL, pc, lr

	.global	_count1
	NAME	_count1
_count1:
	@ Increment the work pointed to by lr, then add 8 to
	@ lr to get the true return address
	LDR	ip, [lr, #0]
	ADD	ip, ip, #1
	STR	ip, [lr], #8
	return	AL, pc, lr

