谁能帮我把这段C代码翻译成汇编,使用指令越少越好。
由于汇编不熟,敬请汇编达人帮忙,翻译成汇编目的是减少指令运行时间<br />这个程序应用在8位单片机上<br />CCAP3H和CCAP3L是个8位的寄存器<br />RecCounter ,RecCounterPre ,DataInterval 是16位的unsigned int<br />RecCounter = CCAP3H;<br />RecCounter = (RecCounter<<8)+CCAP3L;<br />DataInterval = RecCounter - RecCounterPre;<br />RecCounterPre = RecCounter;<br /><br />谢谢!
页:
[1]