From: <de...@on...> - 2006-02-19 20:10:10
|
I think this bug is not completely fixed. I compiled svn revision 828 today, and found the following results. This program produces a perfect square wave on pin 1, as it should. loop: BSF PORTA, 1 NOP NOP NOP BCF PORTA,1 NOP GOTO loop This other doesn't (low value stays for twice the time of the high). Note= that it's almost the same of the first example. See attached image (examp= le2). loop: BSF PORTA, 1 NOP NOP ;NOP BCF PORTA,1 ;NOP GOTO loop This other is strange. The wave goes like that: 1 time high, 2 times low,= 2 times high, 2 times low and repeat. It's irregular. See attached image (example3). loop: BSF PORTA, 1 NOP NOP ;NOP BCF PORTA,1 NOP GOTO loop This one is also irregular. It's the inverse wave of the later. loop: BSF PORTA, 1 NOP NOP NOP BCF PORTA,1 ;NOP GOTO loop This is always on low. loop: BSF PORTA, 1 ;NOP ;NOP ;NOP BCF PORTA,1 ;NOP ; 0 or more NOP here GOTO loop Also I attached 2 more backtraces. If you want more information just ask. I'm happy to help. |