KerimF
Advanced Member level 5
- Joined
- May 17, 2011
- Messages
- 1,555
- Helped
- 0
- Reputation
- 760
- Reaction score
- 378
- Trophy points
- 1,373
- Location
- Aleppo city - Syria
- Activity points
- 13,089
As far as you know, is it possible to divide (by an AVR code) a 32-bit dividend by an 8-bit register, with rounding, in less than 140 cycles?
You can assume that there is not less than 1200 bytes free for this fast code (in ATmega8, for example).
Since I expect no one around here knows (or will know) how to do it (likely due to lack of interest), I will post the code next week.
Hint: You may like reading:
ASM01 – Fast AVR Code for Dividing 16-Bit Register by 8-Bit Register (0 to 255) with Rounding | Forum for Electronics (edaboard.com)
Have fun,
Kerim
You can assume that there is not less than 1200 bytes free for this fast code (in ATmega8, for example).
Since I expect no one around here knows (or will know) how to do it (likely due to lack of interest), I will post the code next week.
Hint: You may like reading:
ASM01 – Fast AVR Code for Dividing 16-Bit Register by 8-Bit Register (0 to 255) with Rounding | Forum for Electronics (edaboard.com)
Have fun,
Kerim