Re: [hatari-devel] "next" and "step" commands to Hatari debugger?

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


On 04/11/2012 20:21, Eero Tamminen wrote:

[1] Assumes max. instruction legth is 8 bytes, I don't remember
     what's the actual max instruction len on m68k.



Hi,

this is certainly not the max ; just as a 1st thought, consider "move memory,memory", it will require 10 bytes :

eq:
move.l $1234567,$987632  -> 23f9 0123 4567 00 98 76 32


On 68000, adress mode "memory.l,memory.l" should be the longest one, so 10 is more likely to be the max (checking the 68000 datasheet should confirm this)

Nicolas



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