Skip to content

Latest commit

 

History

History

z80-disasm

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

z80-disasm

This is a Z80 disassembler written in TypeScript.

% npm install
% npm test

The src/Opcodes.json file is generated by the GenerateJson.ts program:

% npm run generate

Run with:

% bin/zdisasm file.bin

For example, with the TRS-80 Model III ROM:

% bin/zdisasm model3.rom
                 reset:
0000 F3                  di
0001 AF                  xor a,a
0002 C3 15 30            jp L798
0005 C3 00 40            jp 0x4000
                 rst08:
0008 C3 00 40            jp 0x4000
000B E1                  pop hl
000C E9                  jp hl
000D C3 12 30            jp L797
...

License

Copyright © Lawrence Kesteloot, MIT license.