ack/mach/6500/libem/dvi4.s
1984-12-17 11:03:13 +00:00

20 lines
273 B
ArmAsm

.define Dvi4
! This subroutine performs a fourbyte signed division.
! For more details see dvi.s
! The only difference is that zeropage locations are twice as big.
Dvi4:
ldy #1
sty UNSIGN
jsr Div4
lda ARTH+7
ldx ARTH+6
jsr Push
lda ARTH+5
ldx ARTH+4
jmp Push