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.

Does MicroCpro consumes more memory than BASCOM?

Status
Not open for further replies.

Mithun_K_Das

Advanced Member level 3
Advanced Member level 3
Joined
Apr 24, 2010
Messages
899
Helped
24
Reputation
48
Reaction score
26
Trophy points
1,318
Location
Dhaka, Bangladesh, Bangladesh
Visit site
Activity points
8,254
I've been feeling this problem for many days. The problem is, if a program written in microCpro takes 100RAM space, 100 ROM space, the same program written in BASCOM takes less than 100 RAM/ROM.

Why? Is there any thing that program written in microC will consume more RAM/ROM?

Is there any way out to save memory in microC?

I'm feeling this problem mostly in LCD based working. In microC, only few texts can be written. But in BASCOM, around double texts can be written but consumes less RAM/ROM. I don't understand this thing.

Can any one explain? How can I write more texts for LCD program in microC? b'cz. I want to learn one thing well than learning many things a few.
 

Each compiler will have a different memory footprint and level of optimization. If the difference is large, there's probably a basic implementation difference, either caused by your coding style or compiler specific behaviour. Storage of constant strings in RAM or ROM might be a point that matters.

Experts analyze the generated assembly level code and symbol tables to understand the differences.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top