请教老鸟们,一个实时时钟问题(pic16c57)偶在线等 我的实时时钟是按以下思路完成的,晶体为4.194m: 查寻tmr0是否到128,不是的话一直查,若是128进入时间处理程序。 经测试,时间不准。 程序如下:start: movlw b'00000100' ;;32分频 option movlw b'01111111' movwf tmr0_save ..................;;=====================================main clrwdt movf tmr0,w subwf tmr0_save,w btfsc status,c ;;(4/4.194304)*32*128= 3.9ms goto time here goto main;===================timer