On 11/21/19 8:53 PM, Michael Rolnik wrote: > It seems to be a huge investment. this function should parse the > binary data as `decode_insn` does, so I suggest to modify decodetree > tool to make decoding information available to the instruction print > function. > what do you think?
See target/openrisc/disas.c, which makes use of decodetree. It shouldn't be difficult to do something slimiar for avr. r~