[hatari-devel] DSP Question REP instruction

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


Hi all,

I've just detected a difference between Hatari DSP and real falcon DSP code.

I wrote the following code :


            rep        #3
            lsl        a         #>-1000,b

            sub        a,b


The result was "as expected" under hatari but my code executed wrong on the real falcon.

Does it mean that REP must only be followed by a single word instruction ?

If yes, shouldn't it be to the compiled to throw an alert ?

Regards
Laurent




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