leo,我想你的回答可能仍不能解決問題,因為在子程序中上升沿指令已發生了變化,請看以下指令描述:If either DIFU(13) or DIFU(14) is placed within a subroutine, the operand bit will not be turned OFF until the next time the subroutine is executed, i.e., the operand bit may stay ON longer than one cycle.是否有更好的方法,請再指點,我記得davy曾說過"很難",謝謝!