I am trying to make a function that divides an unsigned 32-bit number by an unsigned 16-bit number in AVR assembly language. Since I am using a ATmega128 micro-controller I don't have the ability to use the div instruction, which most examples that I can find seem to use. I have also been trying to just come up with an algorithm to do this division with no such luck. If anyone can help me or point me in the right direction that would be greatly appreciated.
https://stackoverflow.com/questions/66592303/how-to-divide-32-bit-number-by-a-16-bit-number-in-avr-assembly March 12, 2021 at 08:01AM
没有评论:
发表评论