	zpage r0
	zpage r1
	zpage r2
	zpage r3
	zpage r4
	zpage r5
	global ___divuint16
	zpage ___m65mathptr

	section text
___divuint16:
	ldy	#0
	ldz	#0
	ldx	r1
	lda	r0
	stq	$d770
	lda	r2
	ldx	r3
	ldy	#0
	ldz	#0
	stq	$d774
	lda	$d76c
        lda     $d76c
        lda     $d76c
        lda     $d76c
	ldq	$d76c
	ldz	#0
	rts

