Forum
Disassembler - Printable Version

+- Forum (https://www.boriel.com/forum)
+-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12)
+--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11)
+--- Thread: Disassembler (/showthread.php?tid=147)



Disassembler - britlion - 01-31-2010

Just a thought...but since ZXB is based on python, and the SkoolKit is python, and it has a disassembler built in python...

it would be very cool to have the option of disassembling other people's programs to steal routines from.


<!-- m --><a class="postlink" href="http://www.worldofspectrum.org/forums/showthread.php?t=28326&highlight=disassembler">http://www.worldofspectrum.org/forums/s ... sassembler</a><!-- m -->


Now I have NO clue about python, but to my mind it can't be too difficult to joint the dots there and make ZXB an assembler AND a disassembler all in one.

asm in -> .bin file out and .bin file in to .asm out!?


Re: Disassembler - LCD - 01-31-2010

Maybe I will put something like this in Retro-X EXIDE Editor. At least a MC Library is planed. I cannot think a way how it could be included in ZXBC which is a command line utility.
Nothing stops you from disassembling other people code and copy&paste parts of their programs into your source code.


Re: Disassembler - britlion - 01-31-2010

The only thing that stops me is I can't find a disassembler to do that.

BASin and Spectactulator both prevent copy/paste in the disassembly window.


Re: Disassembler - LCD - 02-01-2010

britlion Wrote:The only thing that stops me is I can't find a disassembler to do that.

BASin and Spectactulator both prevent copy/paste in the disassembly window.

No problems in Spin Emulator


Re: Disassembler - britlion - 02-02-2010

hah! As I discovered a few minutes ago before getting here.

Very nice copy/paste facility actually. I'm adding spin to my toolkit. Excellent.

Thanks!