]> git.sur5r.net Git - cc65/blob - libsrc/common/cc65_umul8x8r16.s
Added cc65_umul8x8r16() based on umul8x8r16.
[cc65] / libsrc / common / cc65_umul8x8r16.s
1 ;
2 ; Oliver Schmidt, 2014-03-27
3 ;
4 ; CC65 library: 8x8 => 16 unsigned multiplication
5 ;
6
7         .export         _cc65_umul8x8r16
8         .import         umul8x8r16, popa
9
10         .include        "zeropage.inc"
11
12
13 ;---------------------------------------------------------------------------
14 ; 8x8 => 16 unsigned multiplication routine.
15
16
17 .proc   _cc65_umul8x8r16
18
19         sta     ptr1
20         jsr     popa
21         jmp     umul8x8r16
22
23 .endproc