sarnau / Z80DisAssembler

I created this small disassembler for a Z80 cpu in one afternoon. It is a commandline tool.
20 stars 5 forks source link

z80 output format (bin file with header telling file offset) for the asm #22

Closed Ho-Ro closed 2 months ago

Ho-Ro commented 2 months ago
// the z80 format is used by the z80-asm
// http://wwwhomes.uni-bielefeld.de/achim/z80-asm.html
// *.z80 files are bin files with a header telling the bin offset
// struct z80_header {
//     const char  MAGIC[] = { 'Z', '8', '0', 'A', 'S', 'M', '\032', '\n' };
//     uint16_t    offset;
// }