keil c51 v9.53 uvision5开发工具 更新日志(2014年8月):
release date: 5 august 2014
-
[lx51 linker/locater]
-
implemented: the publicsonly linker directive.
the generated objectfile contains only public symbol information from the inputfile. -
enhanced: lx51 code optimization now removes common blocks for unused functions. example:
unsigned char a, b, c; unsigned char darr [0x10]; void funca (void) { darr[c] = darr[b]; } void funcb (void) { darr[c] = darr[b]; } void funcc (void) { darr[c] = darr[a] darr[b]; } void funcd (void) { darr[c] = darr[a] darr[b]; } void main(void) { funca (); funcb (); while(1); } ; function funca (begin) ; function funcb (begin) ; function funcc (begin) ; function funcd (begin) r mov a,#low darr r mov a,#low darr r mov a,#low darr ----- ----- r mov a,#low darr r add a,b r add a,b r add a,b | r add a,b mov r0,a ----- ----- mov r0,a mov r0,a | mov r0,a mov a,@r0 | mov a,@r0 mov a,@r0 | mov a,@r0 mov r7,a | mov r7,a mov r7,a | mov r7,a r mov a,#low darr | r mov a,#low darr r mov a,#low darr ----- ----- r mov a,#low darr r add a,c | r add a,c r add a,a | r add a,a mov r0,a | mov r0,a mov r0,a | mov r0,a mov @r0,ar7 ----- ----- mov @r0,ar7 mov a,@r0 | mov a,@r0 ret | ret add a,r7 | add a,r7 o-> common code for funca and funcb mov r7,a | mov r7,a r mov a,#low darr | r mov a,#low darr r add a,c | r add a,c mov r0,a | mov r0,a mov @r0,ar7 | mov @r0,ar7 ret | ret o-> common code for funcc and funcd
in the example above the functions funcc() and funcd() are removed when the removeunused linker directive is specified. now, the first part of the common code block (function ?l?com0001) is no longer necessary. in previous verions this was still part of the image. with the new linker enhancement even this code block is removed.
----- function ?l?com0001 (begin) ----- 000021 7408 mov a,#low darr --- 000023 2519 add a,b |\ 000025 f8 mov r0,a | \ 000026 e6 mov a,@r0 | o-> common code for funcc and funcd 000027 ff mov r7,a | 000028 7408 mov a,#low darr --- 00002a ?l?com0002: 00002a f8 mov r0,a --- 00002b e6 mov a,@r0 |\ 00002c ff mov r7,a | \ 00002d 7408 mov a,#low darr | o-> common code for funca and funcb 00002f 251a add a,c | 000031 f8 mov r0,a | 000032 a607 mov @r0,ar7 --- 000034 22 ret ----- function ?l?com0001 (end) -------
-
implemented: the publicsonly linker directive.
-
[ax51 assembler]
- enhanced: segment assembler statement now also supports align (1) as minimum alignment value.
-
[new supported devices]
-
cast
r8051xc3. -
maxim
78m6613. -
sigmadesigns
zm3102, zm4102, zm4101, and sd3402. -
silabs
c8051f970-a-gm, c8051f971-a-gm, c8051f972-a-gm, c8051f973-a-gm, c8051f974-a-gm, c8051f975-a-gm,
c8051f370, c8051f371, c8051f374, c8051f375,
c8051f388, c8051f389, c8051f38a, c8051f38b, c8051f38c,
c8051f390, c8051f391, c8051f392, c8051f393, c8051f394, c8051f395, c8051f396, c8051f397, c8051f398,c8051f399,
c8051f750, c8051f750b, c8051f751, c8051f751b, c8051f752, c8051f752b, c8051f755b, c8051f756b,c8051f757b,
c8051f760, c8051f761, c8051f762, c8051f765, c8051f766, c8051f767,
c8051t626, c8051t627, c8051t670, and c8051t671. -
texas instruments
cc2541f128, cc2541f256, cc2543, cc2544, and cc2545. -
vitesse
vsc7388, vsc7389, vsc7390, vsc7391, vsc7395, vsc7420, and vsc7422.
-
cast
-
[âμvision]
- this c51 release comes with âμvision v5.11.2.0.