In the disassembly for the STM8 bccm instruction, the destination address is apparently wrong:
Example of bccm writing the byte at address 0x0009:
Stop at 0x0081ee: (109) stepped 1 ticks
V-IHINZC Flags= 0x2b 43 + A= 0x00 0 .
0-101011 X= 0x80cd 32973 . Y= 0x0000 0 .
SP= 0x17fb [SP+1]= 81 129 . Limit= 0x14ff
0x081ee 90 17 00 09 bccm 0x00,#3
F 0x0081ee
Philipp