Assembly CTRA
I have used counters in assembly cogs successfully, but why do all the examples have the waitcnt before the neg phsa in the loop?
I was just wondering why you wouldn't set PHSA negative first, and then wait.
... get stuff ready
loop waitcnt Timer, DelayTime
neg PHSA, pwmHigh
jmp #loop
I was just wondering why you wouldn't set PHSA negative first, and then wait.

Comments