Code review adaptations, removed "cc65_" prefix from functions

This commit is contained in:
IrgendwerA8
2019-03-29 22:36:01 +01:00
committed by Oliver Schmidt
parent 435f417c64
commit 3d8c3a4948
21 changed files with 107 additions and 148 deletions

View File

@@ -0,0 +1,27 @@
;
; Ullrich von Bassewitz, 2011-07-10
;
; CC65 library: 16x8 => 32 unsigned multiplication
;
.export _umul16x8r32
.import umul8x16r24, popax
.include "zeropage.inc"
;---------------------------------------------------------------------------
; 16x8 => 32 unsigned multiplication routine. We use 8x16 => 24 and clear
; the high byte of the result
.proc _umul16x8r32
sta ptr1
lda #0
sta sreg+1 ; Clear high byte of result
jsr popax
jmp umul8x16r24
.endproc