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

Memory

Hi all of you guys!

While programming in keil.c more memory use and time used where as in a51.asm less memory and time required as compare to keil.c in simple program.


1. why it is done?

2. IS there any solution that less memory and time consume in keil.c?

  • "1. why it is done?"

    Maybe you just write very inefficient 'C' code?

    Can you post an assembler program and a C51 program, with equivalent functionality, that demonstrates your assertion?

    "2. IS there any solution that less memory and time consume in keil.c?"

    Learn to write better 'C'!

    Have you read the section in the Manual on writing optimum 'C'?