Changes

Jump to: navigation, search

Programming:Integer Multiplication

229 bytes added, 07:18, 24 October 2015
/* Faster, accurate 8bit * 8bit Unsigned */
== Faster, accurate 8bit * 8bit Unsigned ==
 
'''Input:''' L = Multiplier, C = Multiplicand
 
'''Output:''' DE = Product
 
'''CPC Cycles:''' 80 = 20 usec
 
'''Size:''' 14 bytes of code + 16 KB tables
I'm currently working on a new routine, based on a routine by Kirk Meyer [http://www.ticalc.org/pub/86/asm/source/routines/vfmult.asm] which uses nibble multiplication tables.
[[User:Executioner|Executioner]] 03:58, 8 May 2007 (CEST)
 
'''CPC Cycles:''' 100 = 25 usec
 
'''Size:''' 19 bytes of code + 8 KB tables
Ok, here is the new 8K routine, first the routine to build the tables:
22
edits