BEZ80 is a 'disassembler extension' which provides Andys Binary Folding Editor with the capability to disassemble Zilog Z80 opcodes.
BEZ80 offers full symbolic disassembly of the Z80 instruction set.
It identifies branches (and potential references) to other routines,
and allows the user to use the c key in BE to disassemble from there.
rst instructions reference their restart addresses.
It identifies simple potential data references, and allows the use of the * key in BE to show a definition from there.
BEZ80 has a selection of user-configurable options, all with sensible defaults.
be -A 16 -C z80 dump.ram
Here is a little bit of code which initialises the VDP chip in the Z80 based Memotech MTX computer, stolen from the SMG (Scrolling Maze Game) game code.
c takes us to the function that writes one
I lost the assembler source code to this game years ago. But with BEZ80, one day I'll reverse engineer it.
BE allows you to pass user options to the disassembler via the D key. It then prompts you for the option.
BEZ80 supports the following options :-
rstinstructions, with inline data following).
Options may be specified several at once, seperated by spaces and/or commas.
When BEZ80 is loaded, the options are
Here are the explanations of the diagnostics you might see appended to instructions decoded by this disassembler :-