[hatari-devel] Suspicious movem bus error

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


Hi,

I have encountered the weirdest issue. Since I have no means of testing this on real hardware, I can't say whether this is a Hatari bug or my bug or an unexpected hardware bug.

I'm attaching a simple executable:

       section text

        lea     $00FEFFDC,a0

        movem.l (a0)+,d1-d7/a2-a3       ; read 9*4 = 36 bytes

        clr.w   -(sp)
        trap    #1

run it on TOS 1.02 (I tried 1.02UK) and observe:

WARN : Bus Error reading at address $ff0000, PC=$110c6 addr_e3=110c6 op_e3=4cd8

Now replace the movem with

REPT 9
move.l (a0)+,d0
ENDR

and no bus error!

--
http://mikro.atari.org

Attachment: test.zip
Description: Zip archive



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