2026-04-12 16:59:41 +00:00
|
|
|
# ADSP-219x Radare2 Plugin
|
2026-04-12 14:28:20 +00:00
|
|
|
|
2026-04-22 18:46:54 +00:00
|
|
|
Native architecture plugin for disassembling ADSP-219x (including
|
|
|
|
|
ADSP-2191) 24-bit instructions in radare2 and iaito.
|
2026-04-12 14:28:20 +00:00
|
|
|
|
2026-04-22 18:46:54 +00:00
|
|
|
## Build & Install
|
2026-04-12 16:59:41 +00:00
|
|
|
|
2026-04-22 18:46:54 +00:00
|
|
|
make
|
|
|
|
|
make install
|
2026-04-12 16:59:41 +00:00
|
|
|
|
2026-04-22 18:46:54 +00:00
|
|
|
Requires: GCC, radare2 >= 5.8.0 (RArchPlugin API).
|
2026-04-12 16:59:41 +00:00
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
2026-04-22 18:46:54 +00:00
|
|
|
r2 -a adsp219x -b 24 firmware.bin
|
2026-04-12 16:59:41 +00:00
|
|
|
|
2026-04-22 18:46:54 +00:00
|
|
|
## Validation
|
2026-04-12 16:59:41 +00:00
|
|
|
|
2026-04-22 18:46:54 +00:00
|
|
|
Compare against the assembler-verified test ROM:
|
2026-04-12 16:59:41 +00:00
|
|
|
|
2026-04-22 18:46:54 +00:00
|
|
|
r2 -a adsp219x -b 24 -q -c "pd 48" ../examples/isa_test.bin
|
2026-04-12 14:28:20 +00:00
|
|
|
|
2026-04-22 18:46:54 +00:00
|
|
|
The test ROM (`isa_test.dsp`) was assembled with open21xx and
|
|
|
|
|
contains known opcodes for all major instruction types.
|
2026-04-12 14:28:20 +00:00
|
|
|
|
2026-04-12 16:59:41 +00:00
|
|
|
## Coding Standards
|
2026-04-12 14:28:20 +00:00
|
|
|
|
2026-04-22 18:46:54 +00:00
|
|
|
This plugin follows the GNU Coding Standards for C source code.
|
|
|
|
|
No hardcoded absolute paths in any scripts.
|