Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Keil C51 Code Optimization

Status
Not open for further replies.

RohanDey

Member level 2
Joined
Feb 17, 2013
Messages
42
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
India
Activity points
1,688
Hello,

I am developing a simple weighing scale application on Keil uVision 3. I want the binary to run on AT89S52 controller. But the size of my binary generated in more than 8 Kb.

The size increased drastically when I included the function sprintf, and float data type.

So I want to know, whether there is any code optimization setting available in Keil for reducing the code size. Also, if there are any other methods to reduce the code size.

Thanks..
 

You can try to use this optimization. make it favor size

Keil optimization.jpg

**broken link removed**
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top