ack/mach/6500/libem/dvu.s

23 lines
251 B
ArmAsm
Raw Normal View History

1984-12-17 11:03:13 +00:00
.define Dvu2
1987-01-30 18:41:42 +00:00
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
1984-12-17 11:03:13 +00:00
! 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