How to divide numbers in Assembly language in AVR?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
39 views
And how you can implement the division of numbers that have a decimal point?
by | 39 views

2 Answers

0 like 0 dislike
To divide two numbers at a micro level - a science.
Read books.
by
0 like 0 dislike
Any number in binary form can be represented as a numeric row:
y = a[0] * 2**0 + a[1] * 2**1 + a[2] * 2**2 + ... + a[x-1] * 2**(x-1)

The essence of the division algorithm to divide one numeric range to another numerical series.
Implement the algorithm on any convenient high-level language, and then easily rewrite it in assembler.
by

Related questions

0 like 0 dislike
4 answers
0 like 0 dislike
6 answers
0 like 0 dislike
4 answers
0 like 0 dislike
1 answer
110,608 questions
257,187 answers
0 comments
40,796 users