yath / ghidra-xtensa

Tensilica Xtensa processor module for Ghidra
MIT License
102 stars 34 forks source link

Misdecoded operand in MOVI.n #1

Closed eti1 closed 4 years ago

eti1 commented 5 years ago

Hello, I'm working on a firmware using a lot of movi.n instructions. There is a mistake in the decoding of this instruction, when calculating the sign byte.

You'll find a patch attached. xtensa.sinc.patch.txt

Thanks for the processor by the way!

yath commented 4 years ago

Oops, thanks for the report and the patch!