| ??? 02/14/01 09:45 Read: times |
#9297 - RE: use of multiply in large data arrays |
Hi Patrick,
"The MUL AB instruction consume only 4 cycle on the 8051." 1 cycle means 1 NOP durations = 12 crystal periods on the 8051. On the DS80C390 it may differ. But there are many other around the MUL in your listing. This arithmetic can not be decreased considerable on the 8051. But if you access many bytes serially, the compiler can use INC DPTR to calculate the next address. You can try to optimize your array in this way. So still the main question, which speed need you ? Peter |



