mirror of
https://github.com/irmen/prog8.git
synced 2024-10-19 07:23:56 +00:00
don't suggest a mult replacement routine to be used, faster ones are likely to require large tables
This commit is contained in:
parent
9389791d91
commit
25cf0d2b94
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user