ON 20031221@8:01:08 AM at page: http://www.piclist.commethod/math.htm#37976.281412037 James Newton[JMN-EFP-786] removed post 37976.281412037 |Delete 'hari_arudra@rediffmail.com asks:
my problem is:
i have to divide numbers from

30,000,000d to 50,000,000d---> range_1
51,025,000d to 88,000,000d---> range_2

with a constant 25,000d
the thing is that i have to select a number in
the selected range (range_1 or range_2) and divide
with 25,000d.

the result is a round figure without a remainder.

one more issue is that after this division i have to divide
again with 8d.Now ater the second division i have to load its
quotient & remainder {of the above said second division process}
in some registers or some bit addressable memory.

later using this quotient & remainder i have to form a
21 bit register using some control bits.


so that's it.....
send me the reply as soon as possible.

bye hari
'