I was making a simple disassembler for fun and using MAME's to double check my work. that's when this "inconsistencies" showed up.
Regarding the undefined instructions, I was a bit confused because I didn't know that the 'X' meant indeed undefined and couldn't find any info on them. On mine I've decided for the time being to prefix them with a lowercase 'u' as this clearly breaks the normal naming convention for the opcodes, making them more apparent.
Thanks for the links! There are a lot of details I didn't knew about the 6809.
I found your nice 6309 indexed mode postbyte chart (https://tlindner.macmess.org/wp-content ... counts.pdf) and I'd like to ask if it includes the original 6809 postbytes, or if there are some that behave in a different way.
I've also noticed (by comparing my disassembly with MAME's) that I'm showing opcode 0xCD as LDQ Immediate (according to the instruction set) while MAME shows: