ack/mach/6500/libem/mlu.s

23 lines
285 B
ArmAsm
Raw Normal View History

1984-12-17 11:03:13 +00:00
.define Mlu2
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 multiplies two unsigned fourbyte intergers.
! For more details see mli.s
Mlu2:
stx ARTH
sta ARTH+1 ! multiplier
jsr Pop
stx ARTH+2
sta ARTH+3 ! multiplicand
ldy #0
sty UNSIGN
jmp Mul