With old compiler V.7.20 the code runs, with the new compiler the processor does not.
What I noticed in the new code generated is the following
0012 C3 CLR C
0013 E500 E MOV A,time_base0015 9406 SUBB A,#06H0017 7480 MOV A,#080H0019 9480 SUBB A,#080H001B 501A JNC ?C0006
replaces
0012 E500 E MOV A,time_base0014 C3 CLR C0015 9406 SUBB A,#06H0017 501A JNC ?C0006There are a few other differences but this occurs in many places, and the new code is 1K longer than the old code.
If you need additional information, let me know.
Thanks,
Victor