Re: A89: Assembly Help


[Prev][Next][Index][Thread]

Re: A89: Assembly Help




Now I'm back..   I got a temporary brain-stop when I realized I missread, and
now I got it sorted out :)
anyway, your loop below will loop forever, because the moveq is inside the
loop..  but I guess this is a misprint?

`//Olle

Harry Tuttle wrote:
> 
> Could someone please tell me why when I write:
> 
> loop:
>    moveq    #10,d0
>    ..
>    ..
>    dblt     d0,loop
> 
>   do moves from 0000A to 0000ffff and doesn't loop.
> 
> I thought dblt would check to see if do was less that 0, and if not
> decrement the counder and go to loop:.  This doesn't appear to be happening.
> 
>      Thanks
> 
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com


References: