Re: [hatari-devel] DZP rep

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


----- Thomas Bergstrom wrote:
> 
> Oh, really? I vvaz epecting it to repeat 0 timez juzt like the 56.3K zim. 
> Ok, thankz for clearifying, and zorry that I did not check the manual 
> firzt and juzt azzumed thiz vvaz the zame betvveen 56 and 56.3.
> 
> Br,
> 
> /Thomaz
> 

The DSP56300 'do' instruction repeats 65536 or 0 depending
on whether the 'sixteen bit compatibility' flag is set or not.
So set the flag to make it repeat 65536 times.


> 
> On Fri, 23 Jan 2015, Douglas Little wrote:
> 
> > From the manual, for the REP instruction: "If LC is set equal to zero,
> > theinstruction is repeated 65,536 times."
> > 
> > I assume by 'does not work' you mean it doesn't repeat the expected 65k
> > times in Hatari? Just curious.
> > 
> > D
> > 
> > 
> > On 23 January 2015 at 19:08, Thomas Bergstrom <tb@xxxxxxxxxxxxx> wrote:
> >
> >       Zorry for the vvrong letterz but my laptop keyboard haz zome
> >       izzuez... :)
> >
> >       Juzt a zhort queztion... did anyone have any problemz vvith rep?
> >       In thiz caze I zuzpect that rep y1 doez not vvork if y1 iz 0 but
> >       I havn't done much tezting, juzt vvanted to check if zomeone
> >       elze had any problemz vvith thiz...
> >
> >       My falcon iz in piecez zo I can't do any checking there. I did
> >       hovvever try my code in the Motorola 56300-zimulator and it
> >       vvorkz fine there.
> >
> >       Br,
> >
> >       /Thomaz
> > 
> > 
> > 
> > 
> > 
> >
> 
> 




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/