[hatari-devel] Disassembly errors in history listing

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


The disassembly in the listing produced by hi cpu is (occasionally) quite 
wrong.  It fails to recognise an instruction and generates a DC.W and then a 
number of following instructions can be wrong.  For example:

$000320ca : 486d 00b8                          pea       $b8(a5)
$000320ce : 2079 0003 76cc                     movea.l   $376cc,a0
$000320d4 : 2268 0002                          movea.l   2(a0),a1
$000320d8 : 0803 0000                          btst      #0,d3
$000320dc : 6718                               beq.s     $320f6
$000320f6 : 4e91                               jsr       (a1)
$00016f42 : da60                               add.w     -(a0),d5
$00016f44 : 0323                               btst      d1,-(a3)
$00016f46 : 9e36                               DC.W      $9e36
$00016f4a : 0000 5354                          ori.b     #$54,d0
$00016f62 : dc60                               add.w     -(a0),d6
$00016f66 : a036                               linea     #$36
$00016f68 : d1cb                               adda.l    a3,a0
$00016f6a : 0000 4d41                          ori.b     #$41,d0
$00016f6c : 4d41                               DC.W      $4d41
$00016f72 : 4e46                               trap      #6
$00016f74 : 4143                               DC.W      $4143
$00016f76 : 5800                               addq.b    #4,d0
$00016f7c : 0000 0000                          ori.b     #0,d0
$00016faa : 0000 4d49                          ori.b     #$49,d0
$00016fae : 4449                               DC.W      $4449
$00016fb4 : 494e                               DC.W      $494e
$00016fb8 : 0000 0000                          ori.b     #0,d0
$00016fbc : 0000 0000                          ori.b     #0,d0
$00016fc2 : 26b3                               DC.W      $26b3

Some of this may actually be data (that's why I'm debugging), but if Hatari 
executes it, the history listing should reflect the actual instructions 
executed IMO.

Roger




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