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

about code size

hi, I'm a C51 beginner,I writen a C51 program which generated binary code about 30Kbytes, but in .asm program,it generated binary code only about 16Kbyte. How can I save the C51 program's code size? thanks!

Parents
  • You can also reduce some code, especially PUSH and POP instructions, using the using x keyword.

    Take a look in the C51 User's Manual for more details. There're also a good piece of code about the using keyword posted here in this forum a couple of months ago.

Reply
  • You can also reduce some code, especially PUSH and POP instructions, using the using x keyword.

    Take a look in the C51 User's Manual for more details. There're also a good piece of code about the using keyword posted here in this forum a couple of months ago.

Children
No data