;
; asmstubs.s - auxiliary code in ARM assembler
;
; Written by
;  Andreas Dehmel
;
; This file is part of armDeu, the portable WAD utility (the name derives
; from its initial port to the ARM-based RISC OS). armDeu is released under
; the GNU Public License (GPL) in the hope that it proves useful. Please
; note there is NO WARRANTY. For more information read the file License
; included in this release.
;



r0	rn	0
r1	rn	1
r2	rn	2
r3	rn	3
r4	rn	4
r5	rn	5
r6	rn	6
r7	rn	7
r8	rn	8
r9	rn	9
r10	rn	10
r11	rn	11
r12	rn	12



	idfn	(C) 1998 by Andreas Dehmel



	; for timing
	AREA	CODE, READONLY
	align	4
	export	|ReadMonotonicTime|
	=	"ReadMonotonicTime"
	align	4

|ReadMonotonicTime|:
	swi	0x20042
	teq	r0, r0
	teq	pc, pc
	moveq	pc, lr
	movs	pc, lr


	END
