disassembler questions

rr RRauscher at nni.com
Thu Mar 22 02:53:43 GMT 2001


Ok, on this one here, it appears that you are going to need to give it
a starting address. This is where the code starts. Opposed to where
the data is. It looks like it is trying to decode data & ending up in
no-mans land.

This is the key:


> No entry point - defaulting to disassembly from $0000 (reset vector at
>   $FFFE).
>
> Entry point $0016 outside ROM image (ref. from PC = $0005).
>
If this is a '747 bin (at 4K it might be), then try using "entry $617" in the
control file. (Or maybe $D617). This is where the actual code starts.
If the rest of the code is in ROM you may have to append that to the
end of the eprom bin. This will allow the disassembler to access the
interrupt vectors for more infomation.

BobR.


Mark S. Riley wrote:

>  If I put the "-ov" in it will dump to the screen. Could
> > this be caused by the improper .ctl file? In Peter's tutorial, he shows
> > creating a control file. The light on my CSH is blindingly brilliant, but
> I
> > haven't discovered how to create this file.
> > Any suggestions? Mark
>
> My light burned out and I realized that if I create the file in Notepad and
> copy it to DHC11 with no .ctl extension and that creates Peter's control
> file. It works just like he said it would. Beginning to look like I've been
> using Windows too long. DUH!      "dhc11 31t -a -op -ov"   put addresses but
> I don't see anything I could call an op code. I tried adding the lines
> addresses and op codes like BobR. had in his message. Got the message that
> it couldn't open the control file.
>
> ;
> ; DHC11 - 68HC11 Disassembler v1.1 (c) Copyright 2000 Tech Edge Pty. Ltd.
> ;
> ;  http://www.techedge.com.au/utils/dhc11.htm
> ;
> ;
> ; Disassembly of 31t.bin - from $F000 to $FFFF
> ;
> L0000 = $0000
> L0016 = $0016
> LC500 = $C500
> ;
>  org $F000
> ;
> F000                  db $BF, $C5, $00, $00, $00, $20, $0F, $41, $41, $41
> F00A                  db $41, $41, $41, $41, $44, $44, $44, $44, $44, $44
> F014                  db $44, $44, $44, $44, $44, $4A, $4A, $4A, $47, $47
> F01E                  db $47, $41, $41, $41, $41, $41, $41, $44, $44, $44
> F028                  db $4A, $4D, $4D, $47, $47, $47, $41, $41, $41, $41
>   here are the first few lines of the disassembly.
>
> Then run the following and don't see any change in the .dis file. Says I
> have a decode error? What now?
>
> C:\TechEdge>dhc11 31t -op -ov
> DHC11 - 68HC11 Disassembler v1.1 (c) Copyright 2000 Tech Edge Pty. Ltd.
>
> Input file: 31t.bin
> Input file 31t.bin has 4096 bytes ($1000).
> Output file: 31t.dis
> Code resides from $F000 to $FFFF ($1000 bytes).
> No entry point - defaulting to disassembly from $0000 (reset vector at
> $FFFE).
> Entry point $0016 outside ROM image (ref. from PC = $0005).
> *** Decode error (-1) at PC = $001F.
> Pass 1 found 0 new entry points.
> Total of 1 iteration(s) to find all code.
>
> Many Thanks, Mark
>
> ----------------------------------------------------------------------------

----------------------------------------------------------------------------
To unsubscribe from gmecm, send "unsubscribe gmecm" (without the quotes)
in the body of a message (not the subject) to majordomo at lists.diy-efi.org




More information about the Gmecm mailing list