A few disassembler questions

Other misc things
Post Reply
New member
Posts: 1
Joined: Sat Jul 20, 2019 5:49 pm

A few disassembler questions

Post by frax »


today I switched all my Z80 dev (ABC80, SBC, CPM etc) to use z88dk :)

A have a few questions about the disassembler

1: Can I in the symbol file or elsewhere tell the disasm that some parts are data so it gets disassembled as defb or db?
2: Can the symbol file add comments? Like: START $0000: ; Top of the world mom
so $00 @ $0000 would be

Code: Select all

; Top of the world mom
Im trying to keep all my work in one file, so the flow is disassemble with .sym-file, read output, figure out some address or comment something and add to .sym, repeat.

Btw, does the assembler support local lables, like tasm _label?

User avatar
Well known member
Posts: 1358
Joined: Sun Jul 15, 2007 10:01 pm

Post by dom »

This disassembler is pretty simple at the moment, the only file format it reads is the z80asm .map files - this doesn't support comments or "code/data regions".

If someone has already created a format that encapsulates the information you want, then it should be fairly easy to make the disassembler read and apply it.

In the assembler, all labels are local to the file unless explicitly exported.
Post Reply