ack/mach/6500/libem/dvu.s

18 lines
193 B
ArmAsm
Raw Normal View History

1984-12-17 11:03:13 +00:00
.define Dvu2
! This subroutine performs a twobyte unsigned division
! For more details see dvi.s.
Dvu2:
stx ARTH
sta ARTH+1
jsr Pop
stx ARTH+2
sta ARTH+3
ldy #0
sty UNSIGN
jmp Dvu