base:8bit_multiplication_16bit_product_fast_no_tables
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
base:8bit_multiplication_16bit_product_fast_no_tables [2020-02-02 21:59] – created djmips | base:8bit_multiplication_16bit_product_fast_no_tables [2020-02-02 22:09] – djmips | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | < | ||
; mul 8x8 16 bit result for when you can't afford big tables | ; mul 8x8 16 bit result for when you can't afford big tables | ||
; by djmips | ; by djmips | ||
; | ; | ||
- | ; inputs are mul1 and mul2 and A should be zero | + | ; inputs are mul1 and mul2 and should be zero page. |
- | ; output is 16 bit in A : mul1 | + | ; A should be zero entering but if you want it will factor |
; | ; | ||
+ | ; output is 16 bit in A : mul1 (A is high byte) | ||
+ | ; | ||
+ | ; length = 65 bytes | ||
; total cycles worst case = 113 | ; total cycles worst case = 113 | ||
; total cycles best case = 97 | ; total cycles best case = 97 | ||
Line 47: | Line 51: | ||
inc mul2 ; 5 | inc mul2 ; 5 | ||
rts | rts | ||
+ | </ | ||
base/8bit_multiplication_16bit_product_fast_no_tables.txt · Last modified: 2023-03-15 03:25 by djmips