Posted on July 13, 2018 at 10:01I think the problem is that the instruction 'ADDW' is word instruction, and the variable 'k' is byte. In this example, on the $0365 address is #100=#$64 number. When ADDW X, k is executed, 'k' loaded as #$64xx. 'xx' ...
Posted on May 27, 2017 at 21:49Hello! I'm just getting to know the STM8L family and I'm learning assembler programming,but I'm trying to help. You should check that the DMA_OFF bit in the ADC_SQR1 register should be '1'.This may cause you to see not...