Page 1 of 1

Assembly Tool Labels Show Asm Code

Posted: Wed Aug 11, 2021 4:19 pm
by Okie
Is there a way to make all your labels show in your assembly code if you are looking through a dissembler with your emulator,. Not sure if there is a way to correlate the symbols in map file and its address to to disssembly. Has Big Evil Corporation done this with his code with his coff files or anything ( I probably don’t know what I am talking about :P ) Also, is there a way to make disassembled bin files show the dc ds directives instead of interpreting the value as an opcode. Like if I dc.l 0xA2Ac6890 it may interpret that value as opcode ori.b blah when disassembled . How about disassembles correctly interpreting equ or set?

Re: Assembly Tool Labels Show Asm Code

Posted: Wed Aug 11, 2021 5:00 pm
by cero
It depends on if your specific emulator supports your specific symbol table format.

Constants and equ/set are impossible to disassemble. Think what they do, and it should be obvious why.

Re: Assembly Tool Labels Show Asm Code

Posted: Wed Aug 11, 2021 5:08 pm
by Okie
Thanks . Any debugging emulators for Genesis you know of that support symbol table formats? How about interpreting dc ds correctly?

Re: Assembly Tool Labels Show Asm Code

Posted: Thu Aug 12, 2021 6:52 am
by cero
Sorry, I've never needed that, so I don't know which ones support it.

If you need the emu to separate code and data, it needs a feature called Code Data Logging. You turn it on, play through the entire game, including every room and every optional part, and then it knows which parts are code and which are data.

That's obviously a lot of work and pointless for your own game.

Re: Assembly Tool Labels Show Asm Code

Posted: Wed Aug 18, 2021 2:31 pm
by Okie
Thanks Cereo ! Very helpful mentioning Code data logging feature . I’ll check it out. :D

Re: Assembly Tool Labels Show Asm Code

Posted: Wed Aug 18, 2021 2:36 pm
by Okie
Anyone else might happen to know emulators besides MD Studio that support mapping the label names to the assembly shown while running it . I ask for debugging testing purposes. Huge thanks. I’d know not nearly as much if you wasn’t for this forum. :)

Re: Assembly Tool Labels Show Asm Code

Posted: Tue Aug 24, 2021 9:06 pm
by Okie
Anyone got suggestions comments on emulators that support symbol table mapping to show the run routine and and alike names of labels?