don't suggest a mult replacement routine to be used, faster ones are likely to require large tables

This commit is contained in:
Irmen de Jong 2020-09-22 21:19:01 +02:00
parent 9389791d91
commit 25cf0d2b94
2 changed files with 0 additions and 2 deletions

View File

@ -58,7 +58,6 @@ multiply_words .proc
; input: A/Y = first 16-bit number, P8ZP_SCRATCH_W1 in ZP = second 16-bit number ; input: A/Y = first 16-bit number, P8ZP_SCRATCH_W1 in ZP = second 16-bit number
; output: multiply_words.result 4-bytes/32-bits product, LSB order (low-to-high) ; output: multiply_words.result 4-bytes/32-bits product, LSB order (low-to-high)
; clobbers: A ; clobbers: A
; TODO find a faster 16*16 -> 16 bits multiplication routine
sta P8ZP_SCRATCH_W2 sta P8ZP_SCRATCH_W2
sty P8ZP_SCRATCH_W2+1 sty P8ZP_SCRATCH_W2+1

View File

@ -857,7 +857,6 @@ internal class AugmentableAssignmentAsmGen(private val program: Program,
dec $name+1 dec $name+1
+ """) + """)
"*" -> { "*" -> {
// TODO use a more efficient 16 *8 -> 16 multiplication routine
asmgen.out(""" asmgen.out("""
lda $otherName lda $otherName
sta P8ZP_SCRATCH_W1 sta P8ZP_SCRATCH_W1