Re:12LF1822 bsf seems to have a bug
Thanks for reply.
I studied About RMW.
Maybe I could understand well.
I only have software osciloscope that use pc's sound input as it's probe. thus it couldn't capture the waveform. sorry.
Appropriate capacitor is not in my parts box. I'll try after I've got it.
Writing to LATA was work fine. TEST4 well too.
The essence of the problem is seems to unstability of pin output, I tried slow down the Fosc from 32MHz to 500kHz. This was output correct waveform too.
My source code use bit copy like BEFORE in following code many times.
Simply replacing to LATA is make the code to AFTER. This need large memory, CPU time and many of not important label. I tried to write to LATA via INDFx registor like AFTER2. This seems to work good.
Byte writing was not appropriate to my code that I making now.