This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hey guys,
I am trying to perform division where both the dividend and the divisor are 16-bits in length. I am doing this within a PIC18xxx environment and I am trying all sorts of code within a simulator. I can manage 16 / 8 division, but I don't know how to handle 16 / 16 within an 8-bit environment. I know I have to pursue repeated subtraction...
Any advice, or code examples? This seems to be the one type of arithmetic that I can't find code examples of online. I have been using EA60 divided by 2710 for an easy quotient of 6 with no remainder.
Subreddit
Post Details
- Posted
- 5 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/asm/comment...