Skip to content

TheoW03/nesda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nesda

License: GPL v3

CFG (control flow graph) aided NES ROM disassembler.

with a ca65 macro assembler target.

It is way more accurate then your typical disassembler, Which takes any Assembled file and just converts each byte it sees to assembler without any thought.

what it does instead is it disassembles. but looks for instructions where the PC will be changed such as JMP, RTI, RTS when it apporahces these instructions it looks for the next address that needs to be disassembled.

RTI and RTS read directly from a queue that gets populated at branches. however, JMP first attempts to JMP to the address next to jmp if that address is already disassembled. It goes through the queue. if we run out of addresses is when disassembly is over.

and the next stage we do is sort the instructions based on PC.

build instructions

cmake -S . -B build 
cmake --build build --config Release
./nesda --help

About

nesda is an accurate iNESv1.0.0 ROM disassembler

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published