Register tables were wrong per the official core register table (docs/opcode_mnemonics.txt Table 9-5): - reg1[15]: was CNTR, should be STACKA - reg2[12]: was STACKA, should be RES (reserved) - reg2[13]: was LPCSTACKA, should be RES (reserved) - reg2[14]: was RES, should be CNTR - reg2[15]: was RES, should be LPSTACKA This fixes CNTR loads showing as 'RES = ...' in disassembly. Verified: isa_test.bin now shows CNTR = 0x000A, iir.bin shows CNTR = 0x0100 and CNTR = 0x0002.
ADSP-219x Radare2 Plugin
Native architecture plugin for disassembling ADSP-219x (including ADSP-2191) 24-bit instructions in radare2 and iaito.
Build & Install
make
make install
Requires: GCC, radare2 >= 5.8.0 (RArchPlugin API).
Usage
r2 -a adsp219x -b 24 firmware.bin
Validation
Compare against the assembler-verified test ROM:
r2 -a adsp219x -b 24 -q -c "pd 48" ../examples/isa_test.bin
The test ROM (isa_test.dsp) was assembled with open21xx and
contains known opcodes for all major instruction types.
Coding Standards
This plugin follows the GNU Coding Standards for C source code. No hardcoded absolute paths in any scripts.