Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
DSP DIV : I'm lost
Posted by: Thadoss Jul,02.2013-23:25 

Hi,

I'm sorry to disturb, but I'm completly lost here :

I want to divide 2 positive integers :
dividend : $1e000
divisor : $d0


I have :
B: B2: 00 B1: 000000 B0: 01e000
Y: Y1: 0000d0 Y0: 000000

I do the following :
rept 24
div y1,b

It gives me as a result
B: B2: ff B1: ffffd0 B0: 000127

So the result is $127 with the DSP where it is $24e with the 68030 (twice the result of the DSP)

I'm a bit lost here :/

Any help to understand would be appreciated

Best regards

Laurent








[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
DSP DIV : I'm lost Thadoss Jul,02.2013-23:25
  Re: DSP DIV : I'm lost mikro Jul,03.2013-07:03
    Re: DSP DIV : I'm lost Thadoss Jul,03.2013-18:42
      Re: DSP DIV : I'm lost dml Jul,04.2013-20:07
        Re: DSP DIV : I'm lost mikro Jul,05.2013-07:23


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson