NationalSecurityAgency / ghidra

Ghidra is a software reverse engineering (SRE) framework
https://www.nsa.gov/ghidra
Apache License 2.0
52.22k stars 5.91k forks source link

Add Zilog eZ80 processor #5929

Open Soggy-Pancake opened 1 year ago

Soggy-Pancake commented 1 year ago

Is your feature request related to a problem? Please describe. I want to decompile a program for the eZ80 but there is no processor support

Additional context Processor user manual: https://www.zilog.com/docs/um0077.pdf

This processor is used in the TI-84 Plus CE: image

GhidorahRex commented 1 year ago

It's based on the z80, but the ADL mode adds some interesting difficulties here. We would definitely need a context switch for that. And have to update the registers to support the 24-bit modes. There's also a handful of new instructions to add support for, although we'd also need to add support for all of the multibyte register instructions in ADL mode as well.

hippietrail commented 1 week ago

The eZ80 is also used in the modern retrocomputer, the Agon Light, in its various versions: Homepage, Facebook, GitHub

hippietrail commented 1 week ago

There's also another extended Z80 instruction set used in the Spectrum Next modern retrocomputer. They call it Z80N: https://wiki.specnext.dev/Extended_Z80_instruction_set https://table.specnext.dev/

Supporting the eZ80 is important, Z80N might be an interesting hobby project for somebody.