Skip to content

Pokechu22/ghidra-upd77016-lang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A SLEIGH processor spec for Ghidra for the NEC μPD77210 digital signal processor.

Installation

This repository should be placed within the Ghidra install as the folder Ghidra/Processors/uPD77016, such that Ghidra/Processors/uPD77016/data is the path to the data folder. Ghidra should automatically add it to the available processor list on its next start, and compile the files when it is first used.

Manuals

The μPD77210 Family Digital Signal Processor Architecture manual covers registers for μPD77210 and μPD77213, but refers to the μPD77016 Family Digital Signal Processor Instructions manual for the instruction set, also covering the μPD77015, μPD77016, μPD77017, μPD77018, μPD77018A, μPD77019, μPD77110, μPD77111, μPD77112, μPD77113 and μPD77114. The primary goal of this project is to cover the uPD77210, but it should theoretically be usable for any of these.

Unfortunately, these manuals don't talk about the encoding of instructions in detail. Appendix A of the μPD77016 manual shows some information about instruction fields, and gives a list of values associated with the fields, but doesn't actually say what the numeric value corresponding to each entry is. In practice, it seems like most of them are just in order, but a few of them have fewer values than could fit. This EEVblog forum thread provides one user's guesses at what they should be (which seem to be correct based on actual binaries).

About

A SLEIGH processor spec for the NEC/Renesas μPD77016 Family of DSPs (including μPD77210)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published