This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

New C51 compiler v.9.60 issue; processor is AT89C8051AC3.

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_base
0015 9406              SUBB    A,#06H
0017 7480              MOV     A,#080H
0019 9480              SUBB    A,#080H
001B 501A              JNC     ?C0006

replaces

0012 E500     E     MOV     A,time_base
0014 C3                 CLR     C
0015 9406             SUBB    A,#06H
0017 501A             JNC     ?C0006
There 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

Parents Reply Children
No data