Changes

Jump to: navigation, search

Programming:Integer Multiplication

74 bytes removed, 07:39, 24 October 2015
/* Very fast 8bit * 8bit Unsigned with only 1K of tables */
== Very fast 8bit * 8bit Unsigned with only 1K of tables ==
'''Input:''': B A = ''Multiplier'', C L = Multiplicant''Multiplicand''
'''Output:''': DE = ''Product''
'''CPC Cycles''': 104-112 (108 on average) = 26-28 (27) usec
Now for the actual multiply routine:
'''Input:''' A = ''Multiplier'', L = ''Multiplicand''
 
'''Output:''' DE = ''Product''
<pre>
ld h,umul_tab_lo / #100 ; 2
22
edits