[A83] Re: Quick quistion about djnz
[Prev][Next][Index][Thread]
[A83] Re: Quick quistion about djnz
>Everyone says "speed is important", but very rarely is it really important.
>If two t-states are going to be called 100,000 times a frame, then maybe
>it's important, otherwise, no. And in this case, it's not faster anyway:
>
> djnz label ; 13
>
> dec b ; 4
> jp nz,label ; 10
> ; = 14
Do these numbers also include the time it takes to get
the instruction out of the ram and so on?
SUCKER
>
> > If you use a djnz loop, does it then jp or jr?
> > Speed is important, so if it does jp then maybe it is faster to do
> >
> > dec b
> > jr nz,label
> >
> >
> > rather than djnz ??
>
>
>
>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Follow-Ups: