I'm writing an STM8 assembler using your PM0044 document, but it has errors. For example, BTJF and BTJT are both listed as having an opcode of $72 $0x (the x is the bit mask). Most likely, one of those opcodes is supposed to be $92.
Most likely, the programmer who wrote your assemble used a text document provided by the engineers for his info on the STM8 instruction set. Later on, a technical writer converted that text document into a snazzy PDF for outsiders such as myself. Errors were introduced when the info was hand-copied, and nobody ever checked the accuracy of the PDF because nobody expected anybody to need accurate informatio.
It is a sad commentary on the skill-level of STM8 programmers, but none of them have ever written an assembler for the STM8 and so none of them found these errors that I found in my first few days of learning how the STM8 works.
I'm really not the kind of "programmer" who relies on having somebody smart write his assembler for him, then claims to be a super-duper expert on STM8 assembly-language.
Can I just be given the original text document from the engineers? I can do without the snazzy PDF that the technical writer provided. I can't write my assembler without being given accurate information on the STM8 assembly-language.
I suppose if necessary I could reverse-engineer your assembler to find out what opcodes it generates, but that is a waste of my time --- you should just provide this information in a straight-forward manner.
